From 657e7081cd98341749b4a51323f4f6e63f65b987 Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Sat, 1 Sep 2012 23:43:02 +0200 Subject: [PATCH] raise exception instead of letting processing continue --- lib/awestruct/handlers/front_matter_handler.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/awestruct/handlers/front_matter_handler.rb b/lib/awestruct/handlers/front_matter_handler.rb index bdec0656..b63ecea9 100644 --- a/lib/awestruct/handlers/front_matter_handler.rb +++ b/lib/awestruct/handlers/front_matter_handler.rb @@ -79,8 +79,7 @@ def parse_parts @front_matter = YAML.load( yaml_content ) || {} rescue => e puts "could not parse #{relative_source_path}" - puts e - puts e.backtrace + raise e end @parsed_parts = true