hi guys, I have two templates: layout.nj and home.nj. home.nj extends layout.nj.
in somewhere of layout.nj, I have some syntax error, such as
{% set tpl_now = Date.now() %}
or use a filter not defined
{{user.userId | raw | default("null") }}
when I run my node server, env.render DO NOT throw error, and just return null silently.
maybe it's better to throw error in such cases, and so we can find out what is going wrong.
any advice is appreciated.
Thx in advance
hi guys, I have two templates:
layout.njandhome.nj.home.njextendslayout.nj.in somewhere of
layout.nj, I have some syntax error, such asor use a filter not defined
when I run my node server,
env.renderDO NOT throw error, and just returnnullsilently.maybe it's better to throw error in such cases, and so we can find out what is going wrong.
any advice is appreciated.
Thx in advance