diff --git a/lib/jekyll/convertible.rb b/lib/jekyll/convertible.rb index aa02068d..f71d6b79 100644 --- a/lib/jekyll/convertible.rb +++ b/lib/jekyll/convertible.rb @@ -35,7 +35,7 @@ module Jekyll self.data = YAML.safe_load($1) end rescue SyntaxError => e - puts "YAML Exception reading #{File.join(base, name)}: #{e.message}" + puts "YAML Exception reading #{File.join(base, name)}: #{e.message}" rescue Exception => e puts "Error reading file #{File.join(base, name)}: #{e.message}" end @@ -77,10 +77,7 @@ module Jekyll Liquid::Template.parse(content).render!(payload, info) rescue Exception => e Jekyll::Stevenson.error "Liquid Exception:", "#{e.message} in #{payload[:file]}" - e.backtrace.each do |backtrace| - puts backtrace - end - abort("Build Failed") + raise e end # Recursively render layouts