Skip to content

Commit f7368d2

Browse files
committed
fix(logging): silence MISSING_INSTANCEID_SERVICE and TOO_MANY_REGISTRATIONS from Bugsnag
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 35afd94 commit f7368d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/logging/src/main/kotlin/com/getcode/utils/ErrorUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ object ErrorUtils {
8686
throwable is SocketException ||
8787
throwable.cause is SocketException
8888

89-
private val gmsTransientMessages = setOf("SERVICE_NOT_AVAILABLE", "FIS_AUTH_ERROR")
89+
private val gmsTransientMessages = setOf("SERVICE_NOT_AVAILABLE", "FIS_AUTH_ERROR", "MISSING_INSTANCEID_SERVICE", "TOO_MANY_REGISTRATIONS")
9090

9191
private fun isGmsTransientError(throwable: Throwable): Boolean =
9292
generateSequence(throwable) { it.cause }

0 commit comments

Comments
 (0)