aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStypox <stypox@pm.me>2022-01-22 21:58:32 +0100
committerGitHub <noreply@github.com>2022-01-22 21:58:32 +0100
commit8b31c638f344322822b9e05daead542b4ad70638 (patch)
tree76eff4a8862e9991082276b3cd1217d37397384f
parent63098b6f196cbfdb6b48b013d4dd495f890011ea (diff)
downloadPrismLauncher-8b31c638f344322822b9e05daead542b4ad70638.tar.gz
PrismLauncher-8b31c638f344322822b9e05daead542b4ad70638.tar.bz2
PrismLauncher-8b31c638f344322822b9e05daead542b4ad70638.zip
Fix error message
The code is trying to get a string from a json object, and if that fails it should log "is not a string", not "is not a timestamp".
-rw-r--r--launcher/minecraft/auth/Parsers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/auth/Parsers.cpp b/launcher/minecraft/auth/Parsers.cpp
index ed31e934..2dd36562 100644
--- a/launcher/minecraft/auth/Parsers.cpp
+++ b/launcher/minecraft/auth/Parsers.cpp
@@ -94,7 +94,7 @@ bool parseXTokenResponse(QByteArray & data, Katabasis::Token &output, QString na
return false;
}
if(!getString(obj.value("Token"), output.token)) {
- qWarning() << "User Token is not a timestamp";
+ qWarning() << "User Token is not a string";
return false;
}
auto arrayVal = obj.value("DisplayClaims").toObject().value("xui");