Skip to content

Commit 73d2668

Browse files
committed
Only log ActorCache::deleteAll errors to sentry if they're interesting
Lots of disconnects in here.
1 parent 249523f commit 73d2668

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/workerd/io/actor-cache.c++

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3032,7 +3032,11 @@ kj::Promise<void> ActorCache::flushImplDeleteAll(uint retryCount) {
30323032
e.setDescription(kj::str("broken.outputGateBroken; ", msg));
30333033
return kj::mv(e);
30343034
} else {
3035-
LOG_EXCEPTION("actorCacheDeleteAll", e);
3035+
if (isInterestingException(e)) {
3036+
LOG_EXCEPTION("actorCacheDeleteAll", e);
3037+
} else {
3038+
LOG_NOSENTRY(ERROR, "actorCacheDeleteAll failed", e);
3039+
}
30363040
// Pass through exception type to convey appropriate retry behavior.
30373041
return kj::Exception(e.getType(), __FILE__, __LINE__,
30383042
kj::str(

0 commit comments

Comments
 (0)