We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a48f52 commit d20b414Copy full SHA for d20b414
packages/request/src/fetch.ts
@@ -153,7 +153,9 @@ const Fetch = {
153
? errorPayload.errors
154
: null;
155
156
- const msg = `[${response.status}] ${response.statusText ? response.statusText + ' ' : ''}- ${response.url}`;
+ const msg = `[${context.request.method ?? 'GET'} ${response.status}] (${response.type}) ${
157
+ response.statusText ? response.statusText + ' ' : ''
158
+ }- ${response.url}`;
159
160
const error = (errors ? new AggregateError(errors, msg) : new Error(msg)) as Error & {
161
content: object | undefined;
0 commit comments