Merge pull request #3090 from alfredxing/fix-error-output

This commit is contained in:
Parker Moore 2014-11-10 12:01:46 -08:00
commit e42f5ac2dc
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ module Jekyll
begin
converter.convert output
rescue => e
Jekyll.logger.error "Conversion error:", "#{converter.class} encountered an error converting '#{document.relative_path}'."
Jekyll.logger.error "Conversion error:", "#{converter.class} encountered an error while converting '#{document.relative_path}':"
Jekyll.logger.error("", e.to_s)
raise e
end
end