Change logging context

Should be engine.
This commit is contained in:
Kawe Mazidjatari 2023-09-07 22:46:12 +02:00
parent 942e2c2a74
commit f0bbc7dbf0

View File

@ -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;
}