mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Add context to debug message
This commit is contained in:
parent
346d5c15a4
commit
fe5dd00c4d
@ -107,11 +107,12 @@ void LibresapiLocalClient::read()
|
||||
params.setProperty("response", receivedMsg);
|
||||
|
||||
QJSValue temp = p.mCallback.call(QJSValueList { params });
|
||||
if(temp.isError()) {
|
||||
qDebug()
|
||||
<< "Uncaught exception:"
|
||||
<< temp.property("stack").toString()
|
||||
<< temp.toString();
|
||||
if(temp.isError())
|
||||
{
|
||||
qCritical() << __PRETTY_FUNCTION__
|
||||
<< "JavaScript callback uncaught exception:"
|
||||
<< temp.property("stack").toString()
|
||||
<< temp.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user