mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Change logging context
Should be engine.
This commit is contained in:
parent
942e2c2a74
commit
f0bbc7dbf0
@ -331,7 +331,7 @@ bool CPylon::SendRequest(const char* endpoint, const rapidjson::Document& reques
|
||||
|
||||
if (responseJson.HasParseError())
|
||||
{
|
||||
Warning(eDLL_T::SERVER, "%s: JSON parse error at position %zu: %s\n", __FUNCTION__,
|
||||
Warning(eDLL_T::ENGINE, "%s: JSON parse error at position %zu: %s\n", __FUNCTION__,
|
||||
responseJson.GetErrorOffset(), rapidjson::GetParseError_En(responseJson.GetParseError()));
|
||||
|
||||
return false;
|
||||
@ -339,7 +339,7 @@ bool CPylon::SendRequest(const char* endpoint, const rapidjson::Document& reques
|
||||
|
||||
if (!responseJson.IsObject())
|
||||
{
|
||||
Warning(eDLL_T::SERVER, "%s: JSON root was not an object\n", __FUNCTION__);
|
||||
Warning(eDLL_T::ENGINE, "%s: JSON root was not an object\n", __FUNCTION__);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user