mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Add more logs to auth provider
This commit is contained in:
parent
f47486af27
commit
8d69766c1c
|
@ -103,6 +103,7 @@ export class AzureActiveDirectoryService {
|
|||
|
||||
await Promise.all(refreshes);
|
||||
} catch (e) {
|
||||
Logger.info('Failed to initialize stored data');
|
||||
await this.clearSessions();
|
||||
}
|
||||
}
|
||||
|
@ -170,6 +171,7 @@ export class AzureActiveDirectoryService {
|
|||
if (this._tokens.length) {
|
||||
// Log out all
|
||||
removedIds = this._tokens.map(token => token.sessionId);
|
||||
Logger.info('No tokens in memory, clearing keychain data');
|
||||
await this.clearSessions();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue