Skip to content

Commit 9068f3a

Browse files
committed
Updated logger
1 parent 0195846 commit 9068f3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/runtime.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ export class BaseAPI {
151151
if (response === undefined) {
152152
throw new FetchError(
153153
error as Error,
154-
'The request failed and the interceptors did not return an alternative response'
154+
error?.message ??
155+
'The request failed and the interceptors did not return an alternative response'
155156
);
156157
}
157158
} else {

0 commit comments

Comments
 (0)