Merge pull request #356 from mpalmer/yaml-exception-message

Give name of file that generated YAML exception message
This commit is contained in:
Aman Gupta 2011-07-01 17:42:49 -07:00
commit f6b5d827e7
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ module Jekyll
begin
self.data = YAML.load($1)
rescue => e
puts "YAML Exception: #{e.message}"
puts "YAML Exception reading #{name}: #{e.message}"
end
end