Skip to content

Commit d2a41b0

Browse files
Clean up spammy sdk exception logging (#463)
Don't by pass dedupe
1 parent a8195bf commit d2a41b0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/kotlin/com/statsig/sdk/network/GRPCWebsocketWorker.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,15 +201,14 @@ internal class GRPCWebsocketWorker(
201201
}
202202
if (shouldRetry) {
203203
logger.warn("grpcWebSocket: connection error: $throwable")
204-
errorBoundary.logException("grpcWebSocket: connection error", throwable ?: Exception("connection closed"), bypassDedupe = true)
204+
errorBoundary.logException("grpcWebSocket: connection error", throwable ?: Exception("connection closed"))
205205
streamConfigSpecWithBackoff()
206206
connected = false
207207
} else {
208208
logger.warn("grpcWebSocket: connection error: retry exhausted")
209209
errorBoundary.logException(
210210
"grpcWebSocket: retry exhausted",
211211
Exception("Remaining retry is $remainingRetries, exception is ${throwable?.message}"),
212-
bypassDedupe = true,
213212
)
214213
}
215214
}
@@ -220,7 +219,6 @@ internal class GRPCWebsocketWorker(
220219
"grpcWebSocket: Reconnected",
221220
Exception("${response.lastUpdated}"),
222221
extraInfo = "{\"retryAttempt\": ${retryLimit - remainingRetries}}",
223-
bypassDedupe = true,
224222
)
225223
streamingFallback?.cancelBackup()
226224
}
@@ -235,7 +233,6 @@ internal class GRPCWebsocketWorker(
235233
"grpcWebSocket: Failed to emit response",
236234
Exception("${response.lastUpdated}"),
237235
extraInfo = "{\"retryAttempt\": ${retryLimit - remainingRetries}}",
238-
bypassDedupe = true,
239236
)
240237
}
241238
}

0 commit comments

Comments
 (0)