diff --git a/retroshare-qml-app/src/libresapilocalclient.cpp b/retroshare-qml-app/src/libresapilocalclient.cpp index 680851752..b9fde5621 100644 --- a/retroshare-qml-app/src/libresapilocalclient.cpp +++ b/retroshare-qml-app/src/libresapilocalclient.cpp @@ -106,7 +106,13 @@ void LibresapiLocalClient::read() QJSValue&& params(p.mCallback.engine()->newObject()); params.setProperty("response", receivedMsg); - p.mCallback.call(QJSValueList { params }); + QJSValue temp = p.mCallback.call(QJSValueList { params }); + if(temp.isError()) { + qDebug() + << "Uncaught exception:" + << temp.property("stack").toString() + << temp.toString(); + } } // In case of multiple reply coaleshed in the same signal