mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 09:48:30 -05:00
fix error for case with wrong encoding or error in YAML
This commit is contained in:
@@ -32,7 +32,7 @@ module Jekyll
|
||||
self.content = $POSTMATCH
|
||||
self.data = YAML.load($1)
|
||||
end
|
||||
rescue => e
|
||||
rescue Exception => e
|
||||
puts "YAML Exception reading #{name}: #{e.message}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user