Skip to content

Commit fa72c1b

Browse files
committed
fix: rejection interceptors must re-throw errors
1 parent 144bde8 commit fa72c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/authclient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export abstract class AuthClient
435435
// Logging must not create new errors; swallow them all.
436436
}
437437

438-
return error;
438+
throw error;
439439
},
440440
};
441441

0 commit comments

Comments
 (0)