syntax errors not raised properly to Python
-
j1m
I miss-diagnosed this issue.
The issue is that if Javascript calls Python, which calls context
execute to call JavaScript code that raises an error, the original
exception is lost. The context execute method raises a run time error
with the message "Script execution failed and no exception was set",
rather than the progonal error.I eventually came up with a hack arund that involved wrapping a
JavaScript try/catch around the code being executed.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.