summaryrefslogtreecommitdiff
path: root/lib/tmpl.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tmpl.ex')
-rw-r--r--lib/tmpl.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tmpl.ex b/lib/tmpl.ex
index cc5ece2..1470603 100644
--- a/lib/tmpl.ex
+++ b/lib/tmpl.ex
@@ -65,6 +65,7 @@ defmodule Tmpl do
{:ok, template_ast} ->
do_render(template_ast, context, safe)
{:error, err, pos} ->
+ Logger.debug("Liquid error: #{pos} - #{inspect template}")
"[liquid ast error (at #{pos}): #{inspect err}]"
end
end