debug print error in case of unexpected login error

This commit is contained in:
Lion Kortlepel 2024-02-09 14:30:54 +01:00 committed by Lion
parent 7c1106a46a
commit 56dcfcc5ed

View File

@ -81,6 +81,7 @@ std::string Login(const std::string& fields){
d.erase("public_key");
return d.dump();
}
debug(std::string("Backend returned: '") + Buffer + "'")
return GetFail("Invalid message parsing!");
}