diff options
author | Veetaha <[email protected]> | 2020-03-09 19:15:07 +0000 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-03-14 00:01:46 +0000 |
commit | 607d017229ce398bd7fef43aa5f4ab35914e6f31 (patch) | |
tree | a163f3a85c554c36bf7aded21d7a069ae70de754 | |
parent | c2b0fffe3d08d4819ca073c5821869b38784328d (diff) |
vscode-postrefactor: unhandled promise rejections shall not pass 2
-rw-r--r-- | editors/code/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 4f46345d6..8a7c81727 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -38,7 +38,7 @@ export async function activate(context: vscode.ExtensionContext) { | |||
38 | vscode.workspace.onDidChangeConfiguration(() => ensureProperExtensionVersion(config).catch(log.error)); | 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).catch(log.error); |
42 | 42 | ||
43 | const serverPath = await ensureServerBinary(config); | 43 | const serverPath = await ensureServerBinary(config); |
44 | 44 | ||