Merge PR #159: Add a warning message in JsonRpcServer when a call times out

pull/163/head
Jenkins 2019-05-02 11:56:04 +02:00
commit f884eb9195
1 changed files with 1 additions and 0 deletions

View File

@ -705,6 +705,7 @@ void JsonRPCServer::asyncReplyFinished()
,"validating return value", formatAssertion(reply->handler()->name(), reply->method(), QMetaMethod::Method, reply->handler(), reply->data()).toLatin1().data());
sendResponse(interface, reply->clientId(), reply->commandId(), reply->data());
} else {
qCWarning(dcJsonRpc()) << "RPC call timed out:" << reply->handler()->name() << ":" << reply->method();
sendErrorResponse(interface, reply->clientId(), reply->commandId(), "Command timed out");
}