Hi! I am calling from JavaScript in renderer to C++ commands in Execute(name, object, argument, retval, exception) method of CefV8Handler, and return back results via retval = with return true;
Things work, but from time to time some exception is thrown and I cannot catch it.
I tried to put try/catch(e) in JavaScript, it arrives to catch black, but with empty error e and no retval.
I tried to put try/catch black also into Cef C++ code, but ninja run results in warning C4530: "C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc", where I to put this key?
I tried also to put something into exception argument of Execute, but it does not arrive to JavaScript.
What I am doing wrong and how to treat exceptions correctly? Thanks, Levi