Merge branch '3.0-stable'

Conflicts:
	README.md
This commit is contained in:
Ben Hollis 2013-02-05 22:07:05 -08:00
commit bb2f40cc72
3 changed files with 11 additions and 4 deletions

View file

@ -72,8 +72,9 @@ module Middleman::CoreExtensions
@cache.delete(path)
end
YAML_ERRORS = [ Exception, ArgumentError ]
YAML_ERRORS = [ StandardError ]
# https://github.com/tenderlove/psych/issues/23
if defined?(Psych) && defined?(Psych::SyntaxError)
YAML_ERRORS << Psych::SyntaxError
end