We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7911d53 commit 58c5ed8Copy full SHA for 58c5ed8
1 file changed
source/gameanalytics/GAHTTPApi.cpp
@@ -373,7 +373,7 @@ namespace gameanalytics
373
// if not 200 result
374
if (statusCode != HTTP_RESPONSE_OK && statusCode != HTTP_RESPONSE_NO_CONTENT)
375
{
376
- logging::GALogger::d("sdk error failed. response code not 200 or 204. status code: %u", CURLE_OK);
+ logging::GALogger::d("sdk error failed. response code not 200 or 204. status code: %u", statusCode);
377
return;
378
}
379
@@ -465,7 +465,7 @@ namespace gameanalytics
465
return Unauthorized;
466
467
468
- if (statusCode == 400)
+ if (statusCode == HTTP_RESPONSE_BAD_REQUEST)
469
470
logging::GALogger::d("%s request. 400 - Bad Request.", requestId);
471
return BadRequest;
0 commit comments