mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-24 00:15:17 -05:00
fix: log error in handleOAuthUserInfo
This commit is contained in:
@@ -138,7 +138,8 @@ export async function handleOAuthUserInfo(
|
||||
c.request,
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
} catch (e: any) {
|
||||
logger.error(e);
|
||||
if (e instanceof APIError) {
|
||||
return {
|
||||
error: e.message,
|
||||
|
||||
Reference in New Issue
Block a user