mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
Added: Debug output in Android app of callback functions
This commit is contained in:
parent
2e9f5202e0
commit
c41f6a29a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user