diff --git a/src/configs/configAuthentication.ts b/src/configs/configAuthentication.ts index 70b0b5d..baf46c8 100644 --- a/src/configs/configAuthentication.ts +++ b/src/configs/configAuthentication.ts @@ -91,9 +91,10 @@ export const configAuthentication = < try { return await signIn(provider, { ...credentials ?? {} }) } catch (_e) { - const e = _e as CredentialsSignin - console.log(e) - return Err(JSON.parse(JSON.stringify(e)) as CredentialsSignin) + throw _e + // const e = _e as CredentialsSignin + // console.log(e) + // return Err(JSON.parse(JSON.stringify(e)) as CredentialsSignin) } }, signOut