{"version":"2.1.333","anchor":"workflow-script-unhandled-rejections-no-longer-exit-bg-worke","canonical_anchor":"workflow-script-unhandled-rejections-no-longer-exit-bg-worke","heading":"Background workers keep running after an unhandled workflow script error","tier":"notice","area":"Workflows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/workflow-script-unhandled-rejections-no-longer-exit-bg-worke","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Background workers keep running after an unhandled workflow script error\n\nAn unhandled error in a workflow script is now logged instead of shutting down a background or supervised worker\n\n**What**\n\nWhen a workflow script running in a background or supervised worker hits an error that nothing in the script catches (an unhandled promise rejection), Claude Code now logs it and the worker carries on. It no longer exits.\n\n**Why**\n\nBackground sessions are less likely to stop part-way because of one stray error in a script.\n\n- Area: Workflows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}