File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -621,6 +621,9 @@ export async function restoreSessionFromStorage(opts?: { ignoreGuest?: boolean }
621621 await getStoredSessionVars ( ) ;
622622
623623 if ( hasAccessToken && ! accessToken ) {
624+ logger . warn (
625+ "restoreSessionFromStorage: storage indicates we should have an access token, but we do not. Displaying StorageEvictedDialog" ,
626+ ) ;
624627 await abortLogin ( ) ;
625628 }
626629
@@ -823,6 +826,7 @@ async function doSetLoggedIn(
823826 // crypto store, we'll be generally confused when handling encrypted data.
824827 // Show a modal recommending a full reset of storage.
825828 if ( results . dataInLocalStorage && results . cryptoInited && ! results . dataInCryptoStore ) {
829+ logger . warn ( "doSetLoggedIn: StorageManager consistency check failed; displaying StorageEvictedDialog." ) ;
826830 await abortLogin ( ) ;
827831 }
828832
You can’t perform that action at this time.
0 commit comments