mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 17:30:43 -07:00
Rename constant to RAISE_EXCEPTION_LAMBDA
This commit is contained in:
@@ -41,7 +41,7 @@ module Liquid
|
||||
|
||||
self.exception_renderer = Template.default_exception_renderer
|
||||
if rethrow_errors
|
||||
self.exception_renderer = Liquid::EXCEPTION_RENDERER_LAMBDA
|
||||
self.exception_renderer = Liquid::RAISE_EXCEPTION_LAMBDA
|
||||
end
|
||||
|
||||
# Do this last, since it could result in this object being passed to a Proc in the environment
|
||||
|
||||
@@ -153,7 +153,7 @@ module Liquid
|
||||
c = args.shift
|
||||
|
||||
if @rethrow_errors
|
||||
c.exception_renderer = Liquid::EXCEPTION_RENDERER_LAMBDA
|
||||
c.exception_renderer = Liquid::RAISE_EXCEPTION_LAMBDA
|
||||
end
|
||||
|
||||
c
|
||||
|
||||
Reference in New Issue
Block a user