Closed
Description
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