mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 08:35:16 -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);
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue