diff --git a/src/utils/axios/authAxios.ts b/src/utils/axios/authAxios.ts index 1155fd7..16f78c1 100644 --- a/src/utils/axios/authAxios.ts +++ b/src/utils/axios/authAxios.ts @@ -43,7 +43,7 @@ const refreshToken = (() => { refreshingToken?.catch((error) => { if (error instanceof AxiosError) { Router.push('/login') - throwError(error) + console.error(error.response?.data.message) } }) return refreshingToken