mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #1087 from Emotyco/libresapilocal_debug
Added: Debug output in Android app of callback functions
This commit is contained in:
commit
346d5c15a4
@ -106,7 +106,13 @@ void LibresapiLocalClient::read()
|
|||||||
QJSValue&& params(p.mCallback.engine()->newObject());
|
QJSValue&& params(p.mCallback.engine()->newObject());
|
||||||
params.setProperty("response", receivedMsg);
|
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
|
// In case of multiple reply coaleshed in the same signal
|
||||||
|
Loading…
Reference in New Issue
Block a user