Skip to content

Commit

Permalink
fix: Error return
Browse files Browse the repository at this point in the history
  • Loading branch information
irishcarbomb777 committed May 17, 2024
1 parent 42d91c6 commit 6a76998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/configAuthentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const configAuthentication = <
await signIn(provider, { ...credentials ?? {} })
return Ok(null)
} catch (_e) {
return Err(_e as Error)
return Err(JSON.parse(JSON.stringify(_e)))
}
},
signOut
Expand Down

0 comments on commit 6a76998

Please sign in to comment.