Class: Lesmok::Tags::DebugInclude
- Inherits:
-
Liquid::Include
- Object
- Liquid::Include
- Lesmok::Tags::DebugInclude
show all
- Includes:
- ErrorLogging
- Defined in:
- lib/lesmok/tags.rb
Instance Method Summary
collapse
#log_exception, #with_exception_logging
Instance Method Details
#render(context) ⇒ Object
30
31
32
33
34
35
36
37
38
|
# File 'lib/lesmok/tags.rb', line 30
def render(context)
with_exception_logging(context) do
result = super
if context.errors.present?
::Lesmok.logger.debug " -- Liquid errors (#{context.errors.size}) seen in: #{@template_name}"
end
result
end
end
|