mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 11:41:17 +02:00
Fix error printing message during login failure and make it a warning.
This commit is contained in:
parent
d6150c3684
commit
b9239f451f
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 2/18/2014.
|
// Created by Stephen Birarda on 2/18/2014.
|
||||||
// Copyright 2014 High Fidelity, Inc.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
// Copyright 2023 Overte e.V.
|
// Copyright 2023-2024 Overte e.V.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
@ -714,7 +714,7 @@ void AccountManager::setAccessTokens(const QString& response) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO: error handling
|
// TODO: error handling
|
||||||
qCDebug(networking) << "Error in response for password grant -" << rootObject["error_description"].toString();
|
qCWarning(networking) << "Error in response for password grant -" << rootObject["error"].toString();
|
||||||
emit loginFailed();
|
emit loginFailed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -750,7 +750,7 @@ void AccountManager::requestAccessTokenFinished() {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO: error handling
|
// TODO: error handling
|
||||||
qCDebug(networking) << "Error in response for password grant -" << rootObject["error_description"].toString();
|
qCWarning(networking) << "Error in response for password grant -" << rootObject["error"].toString();
|
||||||
emit loginFailed();
|
emit loginFailed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue