lib/awestruct/handlers/front_matter_handler.rb in awestruct-0.5.4.rc3 vs lib/awestruct/handlers/front_matter_handler.rb in awestruct-0.5.4
- old
+ new
@@ -86,9 +86,10 @@
begin
@front_matter = yaml_content.empty? ? {} : (YAML.load(yaml_content) || {})
rescue => e
ExceptionHelper.log_message "could not parse #{relative_source_path}"
+ ExceptionHelper.mark_failed
raise e
end
@parsed_parts = true