We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f4b87 commit 3a4a18cCopy full SHA for 3a4a18c
packages/cursorless-engine/src/spokenForms/CustomSpokenForms.ts
@@ -67,11 +67,17 @@ export class CustomSpokenForms {
67
});
68
69
70
- this.customSpokenFormsInitialized = this.updateSpokenFormMaps().catch(
71
- () => {
72
- console.log("CustomSpokenForms.updateSpokenFormMaps() catch");
73
- },
74
- );
+ try {
+ this.customSpokenFormsInitialized = this.updateSpokenFormMaps().catch(
+ () => {
+ console.log("CustomSpokenForms.updateSpokenFormMaps() catch");
+ },
75
+ );
76
+ } catch (error) {
77
+ console.log("CustomSpokenForms constructor catch");
78
+ console.log(error);
79
+ throw error;
80
+ }
81
82
console.log("CustomSpokenForms constructor done");
83
}
0 commit comments