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
@qidizi closing the issue.
I think it is a duplicate of #56, #122, etc.
If what you want is to log error instead of throwing exception, you just need to wrap template compilation in try/catch in your code, although usually exception is better.
Please reopen if the issue is different/unanswered.
write some code like that?
var s = new Function('', 'var f = function(){noFunc();};try{f.apply(this,arguments);}catch(e){console.log(f+"runtime error",e)}');
console.log(s,s())
The text was updated successfully, but these errors were encountered: