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
Since nsmarty uses asynchronous calls, it is impossible to capture any kinds of errors. Everything nsmarty (or the libraries it uses) throws lands in uncaughtExeption event handler on the process.
The sideeffect is that in case of a template error (unclosed block, syntax error, whatever), the connection from the browser is pending forever (until the socket timesout) and it is impossible to send an error message.
A very helpfull thing would be to add method accepting a standard callback, like:
I use the code:
Since nsmarty uses asynchronous calls, it is impossible to capture any kinds of errors. Everything nsmarty (or the libraries it uses) throws lands in uncaughtExeption event handler on the process.
The sideeffect is that in case of a template error (unclosed block, syntax error, whatever), the connection from the browser is pending forever (until the socket timesout) and it is impossible to send an error message.
A very helpfull thing would be to add method accepting a standard callback, like:
The text was updated successfully, but these errors were encountered: