From 03c38e6702e7e0108c01bb7febf9844f55ea1470 Mon Sep 17 00:00:00 2001 From: Rachel Macfarlane Date: Fri, 6 Nov 2020 15:09:47 -0800 Subject: [PATCH] Add more logging to github auth provider --- extensions/github-authentication/src/github.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/github-authentication/src/github.ts b/extensions/github-authentication/src/github.ts index f28ac97c6a5..d1cf45b7d0d 100644 --- a/extensions/github-authentication/src/github.ts +++ b/extensions/github-authentication/src/github.ts @@ -180,9 +180,12 @@ export class GitHubAuthenticationProvider { } public async logout(id: string) { + Logger.info(`Logging out of ${id}`); const sessionIndex = this._sessions.findIndex(session => session.id === id); if (sessionIndex > -1) { this._sessions.splice(sessionIndex, 1); + } else { + Logger.error('Session not found'); } await this.storeSessions();