lib/liquid/block_body.rb in liquid-4.0.0.rc3 vs lib/liquid/block_body.rb in liquid-4.0.0

- old
+ new

@@ -91,13 +91,13 @@ output << node_output end rescue MemoryError => e raise e rescue UndefinedVariable, UndefinedDropMethod, UndefinedFilter => e - context.handle_error(e, token.line_number) + context.handle_error(e, token.line_number, token.raw) output << nil rescue ::StandardError => e - output << context.handle_error(e, token.line_number) + output << context.handle_error(e, token.line_number, token.raw) end end output.join end