add additional logging around github auth

This commit is contained in:
Tyler Leonhardt
2021-06-28 16:27:52 -07:00
parent c4cde2147a
commit 4a011b5297
4 changed files with 14 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ const AUTH_RELAY_SERVER = 'vscode-auth.github.com';
class UriEventHandler extends vscode.EventEmitter<vscode.Uri> implements vscode.UriHandler {
public handleUri(uri: vscode.Uri) {
Logger.trace('Handling Uri...');
this.fire(uri);
}
}
@@ -54,7 +55,7 @@ export class GitHubServer {
}
public async login(scopes: string): Promise<string> {
Logger.info('Logging in...');
Logger.info(`Logging in for the following scopes: ${scopes}`);
this.updateStatusBarItem(true);
const state = uuid();