diff --git a/packages/frontend/src/scripts/entity-manager.ts b/packages/frontend/src/scripts/entity-manager.ts index 32819a2ec6..0af9530e43 100644 --- a/packages/frontend/src/scripts/entity-manager.ts +++ b/packages/frontend/src/scripts/entity-manager.ts @@ -365,12 +365,10 @@ export class NoteManager { const note = (!this.notesSource.has(id) || shoudFetch) ? this.fetch(id) : this.get(id)!; let using = false; const CapturePromise = Promise.resolve(note) - .then(() => { - this.capture(id); - using = true; - }) .catch(err => { console.error(err); + }) + .finally(() => { this.capture(id); using = true; });