Skip to content

Commit

Permalink
cloudchamber/curl: include response body in API errors (#7524)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpanders authored Dec 12, 2024
1 parent 2e90efc commit 11f95f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/late-phones-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": patch
---

Include response body in Cloudchamber API errors
1 change: 1 addition & 0 deletions packages/wrangler/src/cloudchamber/curl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ async function requestFromCmd(
request: error.request,
status: error.status,
statusText: error.statusText,
body: error.body,
})
);
} else {
Expand Down

0 comments on commit 11f95f7

Please sign in to comment.