lib/webgen/contentprocessor/haml.rb in webgen-0.5.2 vs lib/webgen/contentprocessor/haml.rb in webgen-0.5.3

- old
+ new

@@ -15,10 +15,10 @@ } context.content = ::Haml::Engine.new(context.content, :filename => context.ref_node.absolute_lcn). render(Object.new, locals) context rescue Exception => e - raise RuntimeError, "Error converting Haml markup to HTML: #{e.message}", e.backtrace + raise RuntimeError, "Error converting Haml markup to HTML in <#{context.ref_node.absolute_lcn}>: #{e.message}", e.backtrace end end end