Skip to content

Commit ae729b3

Browse files
committed
fix debug logs
1 parent ec57ac4 commit ae729b3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

source/gameanalytics/GAHTTPApi.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,19 +361,19 @@ namespace gameanalytics
361361
// 401 can return 0 status
362362
if (response.code == 0 || response.code == HTTP_RESPONSE_UNAUTHORIZED)
363363
{
364-
logging::GALogger::d("%s request. 401 - Unauthorized.", requestId);
364+
logging::GALogger::d("%s request. 401 - Unauthorized.", requestId.c_str());
365365
return Unauthorized;
366366
}
367367

368368
if (response.code == HTTP_RESPONSE_BAD_REQUEST)
369369
{
370-
logging::GALogger::d("%s request. 400 - Bad Request.", requestId);
370+
logging::GALogger::d("%s request. 400 - Bad Request.", requestId.c_str());
371371
return BadRequest;
372372
}
373373

374374
if (response.code == HTTP_RESPONSE_INTERNAL_ERROR)
375375
{
376-
logging::GALogger::d("%s request. 500 - Internal Server Error.", requestId);
376+
logging::GALogger::d("%s request. 500 - Internal Server Error.", requestId.c_str());
377377
return InternalServerError;
378378
}
379379

0 commit comments

Comments
 (0)