inngest / inngest-js

The developer platform for easily building reliable workflows with zero infrastructure for TypeScript & JavaScript
https://www.inngest.com/
GNU General Public License v3.0
414 stars 41 forks source link

Handle per-step errors and returning error data #411

Closed jpwilliams closed 8 months ago

jpwilliams commented 10 months ago

Summary

Adds handling and returning of per-step errors instead of the current error flow of intentionlly throwing to trigger a 500 Internal Server Error.

Checklist

Related

changeset-bot[bot] commented 10 months ago

🦋 Changeset detected

Latest commit: 969bfe8d85d953429bba0e533bda8658baffba63

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------- | ----- | | inngest | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

inngest-release-bot commented 8 months ago

A user has added the prerelease/inngest label, so this PR will be published to npm with the tag pr-411. It will be updated with the latest changes as you push commits to this PR.

You can install this prerelease version with:

npm install inngest@pr-411

The last release was built and published from 969bfe8d85d953429bba0e533bda8658baffba63.