Skip to content

Commit fecd8d7

Browse files
committed
Add some logs about issue.
1 parent dfd447d commit fecd8d7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/extension.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ export async function activate(context: vscode.ExtensionContext)
3535
vscode.window.showInformationMessage("Microsoft WASM wasi core extension installed with success !");
3636
return true;
3737
}, failure => {
38-
vscode.window.showErrorMessage(`Failed to install Microsoft WASM wasi core: ${failure} You will have to install ms-vscode.wasm-wasi-core yourself through the extensions tab.`);
38+
console.error("Failed to install ms-vscode.wasm-wasi-core: ", failure);
39+
vscode.window.showErrorMessage(`Failed to install Microsoft WASM wasi core. You will have to install ms-vscode.wasm-wasi-core yourself through the extensions tab.`);
3940
return false;
4041
});
4142
if (!installed) {
42-
return;
43+
return; // Extension dependency failed to install.
4344
}
4445
} else {
4546
vscode.window.showErrorMessage("Extension shader-validator failed to install dependencies. It will not launch the shader language server.");

0 commit comments

Comments
 (0)