fix not returning error from Login, remove old code

This commit is contained in:
Lion Kortlepel authored and Lion committed 2024-02-24 20:26:26 +01:00
1 parent 9dcfa1dca4
commit 8c9d3a5455
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ std::string Login(const std::string& fields){
}
return GetFail("Invalid message parsing!");
} catch (const std::exception& e) {
error(e.what());
return GetFail(e.what());
}
}