mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 09:46:39 +02:00
Add errors
This commit is contained in:
parent
a13418306e
commit
c9e054b5d9
1 changed files with 2 additions and 2 deletions
|
@ -201,13 +201,13 @@ const auth = cache(async () => {
|
|||
return session;
|
||||
}
|
||||
} catch (e) {
|
||||
console.error("FAILED TO GET SESSION");
|
||||
console.error("FAILED TO GET SESSION", e);
|
||||
}
|
||||
|
||||
try {
|
||||
return await getLegacySession();
|
||||
} catch (e) {
|
||||
console.error("FAILED TO GET LEGACY SESSION");
|
||||
console.error("FAILED TO GET LEGACY SESSION", e);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue