From b9239f451f9d35b980dc660da4d0ce84789362c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Thu, 25 Jul 2024 03:18:34 +0200 Subject: [PATCH] Fix error printing message during login failure and make it a warning. --- libraries/networking/src/AccountManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/networking/src/AccountManager.cpp b/libraries/networking/src/AccountManager.cpp index 3ae0277e13..5df2e08fa5 100644 --- a/libraries/networking/src/AccountManager.cpp +++ b/libraries/networking/src/AccountManager.cpp @@ -4,7 +4,7 @@ // // Created by Stephen Birarda on 2/18/2014. // Copyright 2014 High Fidelity, Inc. -// Copyright 2023 Overte e.V. +// Copyright 2023-2024 Overte e.V. // // Distributed under the Apache License, Version 2.0. // 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 { // 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(); } } @@ -750,7 +750,7 @@ void AccountManager::requestAccessTokenFinished() { } } else { // 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(); } }