Optional line numbers for liquid errors

This commit is contained in:
Florian Weingarten
2014-09-05 14:12:29 +00:00
parent 2df643ba18
commit 5eff375094
7 changed files with 77 additions and 20 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ module Liquid
rescue MemoryError => e
raise e
rescue ::StandardError => e
output << (context.handle_error(e))
output << (context.handle_error(e, token))
end
end