catch potential fatal errors from auth
This commit is contained in:
parent
8d2a3ffc24
commit
c3dfa0c31c
1 changed files with 5 additions and 1 deletions
|
|
@ -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<void> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue