vscode-postrefactor: unhandled promise rejections shall not pass 2

This commit is contained in:
Veetaha 2020-03-09 21:15:07 +02:00
parent c2b0fffe3d
commit 607d017229

View file

@ -38,7 +38,7 @@ export async function activate(context: vscode.ExtensionContext) {
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);
void ensureProperExtensionVersion(config).catch(log.error);
const serverPath = await ensureServerBinary(config);