You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder how to catch syntax error in template and to have a human readable error (with line and what is wrong).
When I try/catch arround compile I've got only this mysterious error:
SyntaxError: Unexpected token catch while compiling ejs]
Is there any syntax verification function or something like that ?
I suppose this is possible because this test page: http://www.embeddedjs.com/ does display syntax error in a friendly manner.
I try compileDebug and debug without success.
Thank's in advance.
The text was updated successfully, but these errors were encountered:
Hi all,
I wonder how to catch syntax error in template and to have a human readable error (with line and what is wrong).
When I try/catch arround compile I've got only this mysterious error:
SyntaxError: Unexpected token catch while compiling ejs]
Is there any syntax verification function or something like that ?
I suppose this is possible because this test page: http://www.embeddedjs.com/ does display syntax error in a friendly manner.
I try compileDebug and debug without success.
Thank's in advance.
The text was updated successfully, but these errors were encountered: