Add logs to debug user being disconnected randomly (#16037)

As per title, just adding logs to troubleshoot:
https://github.com/twentyhq/twenty/issues/13103
This commit is contained in:
Charles Bochet
2025-11-24 19:49:02 +01:00
committed by GitHub
parent 30b6907c44
commit b2472b30c4
3 changed files with 21 additions and 0 deletions
@@ -7,6 +7,9 @@ export const getTokenPair = (): AuthTokenPair | undefined => {
const stringTokenPair = cookieStorage.getItem('tokenPair');
if (!isDefined(stringTokenPair)) {
// eslint-disable-next-line no-console
console.log('tokenPair is undefined');
return undefined;
}