1
0
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:
Bernd Schoolmann
2025-11-29 20:23:32 +01:00
committed by GitHub
parent a8d6ad4db6
commit 95def44097

View File

@@ -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({});
}),
);
}),
);