mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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) {
|
if (!invoked) {
|
||||||
QString error = "Could not invoke " + callbackParams.jsonCallbackMethod + " with QNetworkReply* "
|
QString error = "Could not invoke " + callbackParams.jsonCallbackMethod + " with QNetworkReply* "
|
||||||
+ "on errorCallbackReceiver.";
|
+ "on errorCallbackReceiver.";
|
||||||
|
qCWarning(networking) << error;
|
||||||
Q_ASSERT_X(invoked, "AccountManager::passErrorToCallback", qPrintable(error));
|
Q_ASSERT_X(invoked, "AccountManager::passErrorToCallback", qPrintable(error));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -370,6 +371,7 @@ void AccountManager::sendRequest(const QString& path,
|
||||||
if (!invoked) {
|
if (!invoked) {
|
||||||
QString error = "Could not invoke " + callbackParams.errorCallbackMethod + " with QNetworkReply* "
|
QString error = "Could not invoke " + callbackParams.errorCallbackMethod + " with QNetworkReply* "
|
||||||
+ "on errorCallbackReceiver.";
|
+ "on errorCallbackReceiver.";
|
||||||
|
qCWarning(networking) << error;
|
||||||
Q_ASSERT_X(invoked, "AccountManager::passErrorToCallback", qPrintable(error));
|
Q_ASSERT_X(invoked, "AccountManager::passErrorToCallback", qPrintable(error));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue