Skip to content

Commit 1849945

Browse files
committed
allow 204 for sdk error event
1 parent f2aa42d commit 1849945

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/gameanalytics/GAHTTPApi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,9 @@ namespace gameanalytics
364364
logging::GALogger::d("sdk error content : %s", s.toString().c_str());;
365365

366366
// if not 200 result
367-
if (statusCode != 200)
367+
if (statusCode != 200 && statusCode != 204)
368368
{
369-
logging::GALogger::d("sdk error failed. response code not 200. status code: %u", CURLE_OK);
369+
logging::GALogger::d("sdk error failed. response code not 200 or 204. status code: %u", CURLE_OK);
370370
return;
371371
}
372372

0 commit comments

Comments
 (0)