Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.11.1
Description
jsengine.evaluate("someUndefined()");
will throw an error and I can catch it in the return value of the engine. That works great.
However:
jsengine.evaulate("
someQObject.mySignal.connect(function() {
someUndefined();
});
");
will fail completely silently with no way to catch the errors.
QtScriptEngine had signalHandlerException(const QScriptValue & exception)
but there's no equivalent making us regress when porting.
Can we add an equivalent signal to QJSEngine emitted from QV4::ExectutionEngine::catchException?