Hi,
I've tried looking for this, but cannot find it. Is there any way to
detect an error in calls to emscripten_run_script? Say for example
there is a syntax error in the code I provide to that function, how can
I capture that?
It seems that if I wrap whatever call from js makes this happen in a
try/catch block I can do it there, but would really like to be able to
catch this in the C++. I even tried just wrapping the whole snippet I
give to emscripten_run_script in a js try/catch block, but that won't
catch syntax errors in the wrapped code.
Thanks in advance!
Josh
--
Dr. Joshua E. Auerbach
Postdoctoral Researcher
Laboratory of Intelligent Systems
École Polytechnique Fédérale de Lausanne
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.