mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Give name of file that generated YAML exception message
It's not much good saying "hey, there was a problem" if you don't know where the problem *is*. Hunting through several hundred YAML files is no fun.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user