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
440 stars 43 forks source link

INN-2880 Add warning if `fetch` fails and is a custom implementation #521

Closed jpwilliams closed 8 months ago

jpwilliams commented 8 months ago

Summary

Providing a custom fetch implementation is rarely needed, but also has some gotchas when specifying it.

This small change logs a warning if a custom fetch is given and fails, as the user may have specified it incorrectly.

Checklist

Related

linear[bot] commented 8 months ago

INN-2880 Remix on Cloudflare requires manually setting ‘fetch’ on the client when only sending events

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 343ff7a0d41e1f5293ed648f914077efb3afc999

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