Merge pull request #356 from mpalmer/yaml-exception-message
Give name of file that generated YAML exception message
This commit is contained in:
commit
f6b5d827e7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue