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

Parse `.sendEvent()` errors from Inngest API (partial of #256) #323

Closed jpwilliams closed 1 year ago

jpwilliams commented 1 year ago

Summary

Makes sure we attempt to parse errors from the Inngest API when sending events. Partial of #256.

Checklist

Related

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 61be33bb223992b47afb3f05b2b56b6e87522fb2

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

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

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](https://github.com/inngest/inngest-js/new/send-event-error-parsing?filename=.changeset/silent-tables-sniff.md&value=---%0A%22inngest%22%3A%20patch%0A---%0A%0AParse%20%60.sendEvent()%60%20errors%20from%20Inngest%20API%20(partial%20of%20%23256)%0A)