Skip to content

Commit 11f95f7

Browse files
authored
cloudchamber/curl: include response body in API errors (#7524)
1 parent 2e90efc commit 11f95f7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/late-phones-stare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Include response body in Cloudchamber API errors

packages/wrangler/src/cloudchamber/curl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ async function requestFromCmd(
157157
request: error.request,
158158
status: error.status,
159159
statusText: error.statusText,
160+
body: error.body,
160161
})
161162
);
162163
} else {

0 commit comments

Comments
 (0)