Skip to content

Commit 11f95f7

Browse files
authoredDec 12, 2024
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

+5
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

+1
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)