mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 03:49:29 -04:00
Added: Debug output in Android app of callback functions
This commit is contained in:
parent
2e9f5202e0
commit
c41f6a29a5
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue