mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Log key when no active user found (#8326)
This commit is contained in:
@@ -173,7 +173,9 @@ export class DefaultActiveUserState<T> implements ActiveUserState<T> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
if (userId == null) {
|
if (userId == null) {
|
||||||
throw new Error("No active user at this time.");
|
throw new Error(
|
||||||
|
`Error storing ${this.keyDefinition.fullName} for the active user: No active user at this time.`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
const fullKey = this.keyDefinition.buildKey(userId);
|
const fullKey = this.keyDefinition.buildKey(userId);
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user