change log levels of common warnings and errors to debug

this hides a lot of the "standard" errors we get behind the debug flag.
for example, disconnecting a disconnected player would be such an error
This commit is contained in:
Lion Kortlepel
2022-10-15 23:08:50 +02:00
parent 75ff9f7571
commit 87965433c2
3 changed files with 5 additions and 5 deletions

View File

@@ -225,7 +225,7 @@ bool TServer::IsUnicycle(TClient& c, const std::string& CarJson) {
return true;
}
} catch (const std::exception& e) {
beammp_error("Failed to parse vehicle data as json for client " + std::to_string(c.GetID()) + ": '" + CarJson + "'");
beammp_warn("Failed to parse vehicle data as json for client " + std::to_string(c.GetID()) + ": '" + CarJson + "'.");
}
return false;
}