mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-01 11:16:32 +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;
|
return session;
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("FAILED TO GET SESSION");
|
console.error("FAILED TO GET SESSION", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return await getLegacySession();
|
return await getLegacySession();
|
||||||
} catch (e) {
|
} 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