diff --git a/extensions/vscode/src/stubs/WorkOsAuthProvider.ts b/extensions/vscode/src/stubs/WorkOsAuthProvider.ts index da9ae55f8..4b20f8af7 100644 --- a/extensions/vscode/src/stubs/WorkOsAuthProvider.ts +++ b/extensions/vscode/src/stubs/WorkOsAuthProvider.ts @@ -160,7 +160,11 @@ export class WorkOsAuthProvider implements AuthenticationProvider, Disposable { } async refreshSessions() { - await this._refreshSessions(); + try { + await this._refreshSessions(); + } catch (e) { + console.error(`Error refreshing sessions: ${e}`); + } } private async _refreshSessions(): Promise {