Skip to content

Commit d095251

Browse files
committed
return error is response code is invalid
1 parent 0185451 commit d095251

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/gameanalytics/GAHTTPApi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ namespace gameanalytics
9090
if(response.code < 0)
9191
{
9292
logging::GALogger::e("Request failed: %s", url.c_str());
93-
return;
93+
return EGAHTTPApiResponse::SdkError;
9494
}
9595

9696
std::string_view content = response.toString();

0 commit comments

Comments
 (0)