mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 23:46:59 +00:00
log non-200 status codes
This commit is contained in:
parent
c0c3d6b30e
commit
eaeacbd8de
@ -81,7 +81,7 @@ std::string HTTP::Get(const std::string& IP) {
|
||||
Ret = res->body;
|
||||
} else {
|
||||
WriteHttpDebug(cli, "GET", IP, res);
|
||||
error("Failed to GET '" + IP + "': " + res->reason + ", ssl verify = " + std::to_string(cli.get_openssl_verify_result()));
|
||||
error("Failed to GET (status " + std::to_string(res->status) + ") '" + IP + "': " + res->reason + ", ssl verify = " + std::to_string(cli.get_openssl_verify_result()));
|
||||
}
|
||||
} else {
|
||||
if (isDownload) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user