From 3784293df59f68f7df08db69d40f5ca3ffb7131b Mon Sep 17 00:00:00 2001 From: Benjamin Goering <171782+gobengo@users.noreply.github.com> Date: Wed, 21 Feb 2024 14:02:58 -0800 Subject: [PATCH] Revert "Update http.js (#340)" (#341) This reverts commit 876db9170ef248a302433a0885c86cce2fe79368. --- packages/transport/src/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/transport/src/http.js b/packages/transport/src/http.js index 183582b6..fb953032 100644 --- a/packages/transport/src/http.js +++ b/packages/transport/src/http.js @@ -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