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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user