Skip to content

Commit

Permalink
raise exception instead of letting processing continue
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Sep 1, 2012
1 parent bbb16c0 commit 657e708
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/awestruct/handlers/front_matter_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 657e708

Please sign in to comment.