Skip to content

Commit 9291835

Browse files
committed
fixup! Log outputGate broken shouldRetryCountsAgainstLimits for alarms. Force exceeded memory overloaded error to be treated as user error
1 parent e3d9af7 commit 9291835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workerd/api/global-scope.c++

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ kj::Promise<WorkerInterface::AlarmResult> ServiceWorkerGlobalScope::runAlarm(kj:
471471
!jsg::isDoNotLogException(desc) && context.isOutputGateBroken()) {
472472
LOG_NOSENTRY(ERROR, "output lock broke during alarm execution", actorId, e);
473473
} else if (context.isOutputGateBroken()) {
474-
if (e.getDetail(jsg::EXCEPTION_IS_USER_ERROR) != kj::none`) {
474+
if (e.getDetail(jsg::EXCEPTION_IS_USER_ERROR) != kj::none) {
475475
// The handler failed because the user overloaded the object. It's their fault, we'll not
476476
// retry forever.
477477
shouldRetryCountsAgainstLimits = true;

0 commit comments

Comments
 (0)