We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0195846 commit 9068f3aCopy full SHA for 9068f3a
src/lib/runtime.ts
@@ -151,7 +151,8 @@ export class BaseAPI {
151
if (response === undefined) {
152
throw new FetchError(
153
error as Error,
154
- 'The request failed and the interceptors did not return an alternative response'
+ error?.message ??
155
+ 'The request failed and the interceptors did not return an alternative response'
156
);
157
}
158
} else {
0 commit comments