From d5b0d5fd11fdbba8d274e7b1e0a5e48fcfe314e9 Mon Sep 17 00:00:00 2001 From: Benjamin Goering <171782+gobengo@users.noreply.github.com> Date: Wed, 21 Feb 2024 12:41:11 -0800 Subject: [PATCH] Update http.js --- 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 fb953032..183582b6 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', response) + : HTTPError.throw(`HTTP Request failed. ${this.method} ${this.url.href} → ${response.status}`, response) return { headers: response.headers.entries