Fix unclear error when assets upload session returns a null response#12841
Fix unclear error when assets upload session returns a null response#12841dario-piotrowicz merged 1 commit intomainfrom
null response#12841Conversation
🦋 Changeset detectedLatest commit: ac662b3 The changes in this PR will be included in the next version bump. 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 |
|
✅ All changesets look good |
|
I'm Bonk, and I've done a quick review of your PR. The PR adds a null-check on the assets upload session API response and throws a clear I flagged one low-severity issue: the comment on lines 81-82 of |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
f6895a8 to
ac662b3
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
Fixes #9465
When deploying assets, if the Cloudflare API returns a
nullresponse object, Wrangler now provides a clear error message asking users to retry instead of failing with a confusing error.A picture of a cute animal (not mandatory, but encouraged)