Improved error handling in Inngest SDKs
You can now use language-native features like
try/catch to gracefully handler errors that occur across one or more steps. This much-requested enhancement brings more control over errors and failures. It provides a way to handle rollbacks, cleanups, and workflows that take different paths based on an error type.
This change is available today in our TypeScript (
v3.12.0) and Go (
v0.6.0) SDKs. We will be rolling this out to the Python SDK in the coming days. You'll also need the latest version Inngest Dev Server
v0.25.0 which you can run using
@latest, for example:
npx inngest-cli@latest dev.
To learn more, check: