diff --git a/libs/common/src/platform/state/implementations/default-active-user-state.ts b/libs/common/src/platform/state/implementations/default-active-user-state.ts index 4e7f7a0ff6..ae656d836e 100644 --- a/libs/common/src/platform/state/implementations/default-active-user-state.ts +++ b/libs/common/src/platform/state/implementations/default-active-user-state.ts @@ -173,7 +173,9 @@ export class DefaultActiveUserState implements ActiveUserState { ), ); 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); return [