about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorVeetaha <gerzoh1@gmail.com>2020-03-09 20:53:01 +0200
committerVeetaha <gerzoh1@gmail.com>2020-03-14 02:01:46 +0200
commit028a4aa99f7f6829cab2d8968ef6b5976e9b3ee9 (patch)
tree854e12358e46f478c7cf7fc026a47ca2bde43cb2 /editors/code/src
parentb0bf495262c650d62744c17b2dac8b24272d76b7 (diff)
downloadrust-028a4aa99f7f6829cab2d8968ef6b5976e9b3ee9.tar.gz
rust-028a4aa99f7f6829cab2d8968ef6b5976e9b3ee9.zip
vscode-postrefactor: unhandled promise rejections shall not pass
Diffstat (limited to 'editors/code/src')
-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 ee67c750c1b..4f46345d6b6 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -35,7 +35,7 @@ export async function activate(context: vscode.ExtensionContext) {
 
     const config = new Config(context);
 
-    vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config));
+    vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config).catch(log.error));
 
     // Don't await the user response here, otherwise we will block the lsp server bootstrap
     void ensureProperExtensionVersion(config);