Skip to content

Commit

Permalink
add failed log for other error code (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinlili-statsig authored Feb 28, 2024
1 parent 9227939 commit 249121e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/statsig/androidsdk/StatsigNetwork.kt
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ private class StatsigNetworkImpl(
}

else -> {
if (endpoint == LOGGING_ENDPOINT) {
addFailedLogRequest(bodyString)
}
callback(code)
return@withContext null
}
Expand Down

0 comments on commit 249121e

Please sign in to comment.