提交 8d69766c 编写于 作者: R Rachel Macfarlane

Add more logs to auth provider

上级 f47486af
...@@ -103,6 +103,7 @@ export class AzureActiveDirectoryService { ...@@ -103,6 +103,7 @@ export class AzureActiveDirectoryService {
await Promise.all(refreshes); await Promise.all(refreshes);
} catch (e) { } catch (e) {
Logger.info('Failed to initialize stored data');
await this.clearSessions(); await this.clearSessions();
} }
} }
...@@ -170,6 +171,7 @@ export class AzureActiveDirectoryService { ...@@ -170,6 +171,7 @@ export class AzureActiveDirectoryService {
if (this._tokens.length) { if (this._tokens.length) {
// Log out all // Log out all
removedIds = this._tokens.map(token => token.sessionId); removedIds = this._tokens.map(token => token.sessionId);
Logger.info('No tokens in memory, clearing keychain data');
await this.clearSessions(); await this.clearSessions();
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册