Skip to content

Comments

Warn about the importance of catching exceptions in DO alarm handlers#28090

Merged
elithrar merged 1 commit intocloudflare:productionfrom
a-robinson:a-robinson/alarm-exception-handling
Feb 5, 2026
Merged

Warn about the importance of catching exceptions in DO alarm handlers#28090
elithrar merged 1 commit intocloudflare:productionfrom
a-robinson:a-robinson/alarm-exception-handling

Conversation

@a-robinson
Copy link
Member

Since otherwise a series of repeated uncaught exceptions can cause alarms to stop getting retried. That behavior was documented, but it isn't obvious that that means you may want to be careful about catching exceptions and scheduling your own new alarms.

@github-actions github-actions bot added product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/s labels Feb 4, 2026
Since otherwise a series of repeated uncaught exceptions can cause
alarms to stop getting retried. That behavior was documented, but it
isn't obvious that that means you may want to be careful about catching
exceptions and scheduling your own new alarms.
@a-robinson a-robinson force-pushed the a-robinson/alarm-exception-handling branch from 9cf0227 to 6f95bfb Compare February 4, 2026 18:37
@elithrar elithrar merged commit 19c3131 into cloudflare:production Feb 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants