Skip to content

Commit

Permalink
fix uncaught exceptions from CustomSpokenForms.updateSpokenFormMaps (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey authored Apr 8, 2024
1 parent aebc88d commit 6cc736d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ export class CustomSpokenForms {

constructor(private talonSpokenForms: TalonSpokenForms) {
this.disposable = talonSpokenForms.onDidChange(() =>
this.updateSpokenFormMaps(),
this.updateSpokenFormMaps().catch(() => {}),
);

this.customSpokenFormsInitialized = this.updateSpokenFormMaps();
this.customSpokenFormsInitialized.catch(() => {});
}

/**
Expand Down

0 comments on commit 6cc736d

Please sign in to comment.