Cloudflare
Stability
Releases
Worker throwing unhandled exceptions (last 24h)
Part of the Workers, Pages & API tokens check · fix arrives as a guide
What it is
A Worker is throwing unhandled exceptions.
Why it matters
An unhandled exception returns an error to the user with no useful response. Because Workers sit at the edge, this often affects requests before they reach your application, so your origin metrics look healthy throughout.
How to fix it
Wrap the handler in try/catch, return a deliberate error response, and report the exception. Then fix the underlying cause — unhandled exceptions in Workers are usually an unchecked binding or a malformed request assumption.
Run them all on your app
Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.