diff options
author | Stypox <stypox@pm.me> | 2022-01-22 21:58:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 21:58:32 +0100 |
commit | 8b31c638f344322822b9e05daead542b4ad70638 (patch) | |
tree | 76eff4a8862e9991082276b3cd1217d37397384f | |
parent | 63098b6f196cbfdb6b48b013d4dd495f890011ea (diff) | |
download | PrismLauncher-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.cpp | 2 |
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"); |