Skip to content

Commit

Permalink
Revert "Update http.js (#340)" (#341)
Browse files Browse the repository at this point in the history
This reverts commit 876db91.
  • Loading branch information
gobengo authored Feb 21, 2024
1 parent 876db91 commit 3784293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/transport/src/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Channel {

const buffer = response.ok
? await response.arrayBuffer()
: HTTPError.throw(`HTTP Request failed. ${this.method} ${this.url.href}${response.status}`, response)
: HTTPError.throw('HTTP Request failed', response)

return {
headers: response.headers.entries
Expand Down

0 comments on commit 3784293

Please sign in to comment.