diff --git a/src/store/card-under-review-store.ts b/src/store/card-under-review-store.ts index 86a4f304..6eebbf00 100644 --- a/src/store/card-under-review-store.ts +++ b/src/store/card-under-review-store.ts @@ -50,7 +50,10 @@ export class CardUnderReviewStore { } changeState(state: CardState) { - assert(this.isOpened, "The card should be opened before changing state"); + assert( + this.isOpened, + `The card should be opened before changing state. Card id: ${this.id}`, + ); this.state = state; }