mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 14:52:28 -04:00
Add context to debug message
This commit is contained in:
parent
346d5c15a4
commit
fe5dd00c4d
1 changed files with 6 additions and 5 deletions
|
@ -107,11 +107,12 @@ void LibresapiLocalClient::read()
|
||||||
params.setProperty("response", receivedMsg);
|
params.setProperty("response", receivedMsg);
|
||||||
|
|
||||||
QJSValue temp = p.mCallback.call(QJSValueList { params });
|
QJSValue temp = p.mCallback.call(QJSValueList { params });
|
||||||
if(temp.isError()) {
|
if(temp.isError())
|
||||||
qDebug()
|
{
|
||||||
<< "Uncaught exception:"
|
qCritical() << __PRETTY_FUNCTION__
|
||||||
<< temp.property("stack").toString()
|
<< "JavaScript callback uncaught exception:"
|
||||||
<< temp.toString();
|
<< temp.property("stack").toString()
|
||||||
|
<< temp.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue