diff --git a/packages/auth/src/utils/tokenRequestHandler.ts b/packages/auth/src/utils/tokenRequestHandler.ts index 9e6c7dc5eb..0fff84c266 100644 --- a/packages/auth/src/utils/tokenRequestHandler.ts +++ b/packages/auth/src/utils/tokenRequestHandler.ts @@ -24,5 +24,6 @@ export async function tokenRequestHandler( return response.json(); } catch (error) { console.error(`Error with ${method} request:`, error); + throw error; } }