Skip to content

Commit 629fac3

Browse files
Fix quickjs test (#2910)
1 parent e2b066f commit 629fac3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/cursorless-engine/src/spokenForms/CustomSpokenForms.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,10 @@ export class CustomSpokenForms {
5959

6060
constructor(private talonSpokenForms: TalonSpokenForms) {
6161
this.disposable = talonSpokenForms.onDidChange(() =>
62-
this.updateSpokenFormMaps().catch(() => {}),
62+
this.updateSpokenFormMaps(),
6363
);
6464

6565
this.customSpokenFormsInitialized = this.updateSpokenFormMaps();
66-
this.customSpokenFormsInitialized.catch(() => {});
6766
}
6867

6968
/**
@@ -99,7 +98,7 @@ export class CustomSpokenForms {
9998
this.spokenFormMap_ = { ...defaultSpokenFormMap };
10099
this.notifier.notifyListeners();
101100

102-
throw err;
101+
return;
103102
}
104103

105104
for (const entryType of SUPPORTED_ENTRY_TYPES) {

0 commit comments

Comments
 (0)