summaryrefslogtreecommitdiff
path: root/lib/tmpl.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-01 10:30:18 +0200
committerhref <href@random.sh>2021-09-01 10:30:18 +0200
commit75687711f35355bc30e4829439384aab28fcac6d (patch)
tree8f3256f472893c39720a684d390e890a152f7303 /lib/tmpl.ex
parentlink: post_* callbacks; html & pdftitle. (diff)
Commit all the changes that hasn't been committed + updates.
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