format backend refused message nicer

This commit is contained in:
Lion Kortlepel 2022-02-15 15:19:41 +01:00
parent 01268821dc
commit 944b68c6d5
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -116,9 +116,9 @@ void THeartbeatThread::operator()() {
isAuth = true; isAuth = true;
} else { } else {
if (Message.empty()) { if (Message.empty()) {
Message = "Backend didn't provide a reason"; Message = "Backend didn't provide a reason.";
} }
beammp_error("Backend REFUSED the auth key. " + Message); beammp_error("Backend REFUSED the auth key. Reason: " + Message);
} }
} }
if (isAuth) { if (isAuth) {