aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-03-09 18:53:01 +0000
committerVeetaha <[email protected]>2020-03-14 00:01:46 +0000
commit028a4aa99f7f6829cab2d8968ef6b5976e9b3ee9 (patch)
tree854e12358e46f478c7cf7fc026a47ca2bde43cb2 /editors
parentb0bf495262c650d62744c17b2dac8b24272d76b7 (diff)
vscode-postrefactor: unhandled promise rejections shall not pass
Diffstat (limited to 'editors')
-rw-r--r--editors/code/src/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index ee67c750c..4f46345d6 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -35,7 +35,7 @@ export async function activate(context: vscode.ExtensionContext) {
35 35
36 const config = new Config(context); 36 const config = new Config(context);
37 37
38 vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config)); 38 vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config).catch(log.error));
39 39
40 // Don't await the user response here, otherwise we will block the lsp server bootstrap 40 // Don't await the user response here, otherwise we will block the lsp server bootstrap
41 void ensureProperExtensionVersion(config); 41 void ensureProperExtensionVersion(config);