mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Catch error initializing provider keys (#17672)
This commit is contained in:
@@ -2,6 +2,7 @@ import * as bigInt from "big-integer";
|
||||
import {
|
||||
NEVER,
|
||||
Observable,
|
||||
catchError,
|
||||
combineLatest,
|
||||
distinctUntilChanged,
|
||||
filter,
|
||||
@@ -948,6 +949,13 @@ export class DefaultKeyService implements KeyServiceAbstraction {
|
||||
|
||||
return result;
|
||||
}),
|
||||
catchError((err: unknown) => {
|
||||
this.logService.error(
|
||||
`Failed to get encrypted organization keys for user ${userId}`,
|
||||
err,
|
||||
);
|
||||
return of({});
|
||||
}),
|
||||
);
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user