mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-02 18:17:46 +01:00
Log key when no active user found (#8326)
This commit is contained in:
parent
25f89e2a1c
commit
d28634b068
@ -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 [
|
||||||
|
Loading…
Reference in New Issue
Block a user