diff --git a/packages/cursorless-engine/src/spokenForms/CustomSpokenForms.ts b/packages/cursorless-engine/src/spokenForms/CustomSpokenForms.ts index 1432656059..6812b6f2db 100644 --- a/packages/cursorless-engine/src/spokenForms/CustomSpokenForms.ts +++ b/packages/cursorless-engine/src/spokenForms/CustomSpokenForms.ts @@ -59,11 +59,10 @@ export class CustomSpokenForms { constructor(private talonSpokenForms: TalonSpokenForms) { this.disposable = talonSpokenForms.onDidChange(() => - this.updateSpokenFormMaps().catch(() => {}), + this.updateSpokenFormMaps(), ); this.customSpokenFormsInitialized = this.updateSpokenFormMaps(); - this.customSpokenFormsInitialized.catch(() => {}); } /** @@ -99,7 +98,7 @@ export class CustomSpokenForms { this.spokenFormMap_ = { ...defaultSpokenFormMap }; this.notifier.notifyListeners(); - throw err; + return; } for (const entryType of SUPPORTED_ENTRY_TYPES) {