mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
add warning output of error from AccountManager
This commit is contained in:
parent
e90ea82ef5
commit
24f92502b5
1 changed files with 2 additions and 0 deletions
|
@ -345,6 +345,7 @@ void AccountManager::sendRequest(const QString& path,
|
|||
if (!invoked) {
|
||||
QString error = "Could not invoke " + callbackParams.jsonCallbackMethod + " with QNetworkReply* "
|
||||
+ "on errorCallbackReceiver.";
|
||||
qCWarning(networking) << error;
|
||||
Q_ASSERT_X(invoked, "AccountManager::passErrorToCallback", qPrintable(error));
|
||||
}
|
||||
} else {
|
||||
|
@ -370,6 +371,7 @@ void AccountManager::sendRequest(const QString& path,
|
|||
if (!invoked) {
|
||||
QString error = "Could not invoke " + callbackParams.errorCallbackMethod + " with QNetworkReply* "
|
||||
+ "on errorCallbackReceiver.";
|
||||
qCWarning(networking) << error;
|
||||
Q_ASSERT_X(invoked, "AccountManager::passErrorToCallback", qPrintable(error));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue