We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60dad71 + 6b0f0ff commit 03ac4adCopy full SHA for 03ac4ad
src/workerd/api/global-scope.c++
@@ -497,7 +497,7 @@ kj::Promise<WorkerInterface::AlarmResult> ServiceWorkerGlobalScope::runAlarm(kj:
497
498
context.getMetrics().reportFailure(e);
499
500
- auto description = e.getDescription();
+ auto description = kj::str(e.getDescription()); // because e is moved before this is used
501
auto log = !jsg::isTunneledException(description) && !jsg::isDoNotLogException(description);
502
auto isUserError = e.getDetail(jsg::EXCEPTION_IS_USER_ERROR) != kj::none;
503
0 commit comments