handle Thenable type rejects

This commit is contained in:
Sahandevs 2021-02-07 21:52:32 +03:30
parent 1d0e93b58e
commit 1bb4e973ff
4 changed files with 23 additions and 12 deletions

View file

@ -78,7 +78,8 @@ async function getDebugConfiguration(ctx: Ctx, runnable: ra.Runnable): Promise<v
if (!debugEngine) {
vscode.window.showErrorMessage(`Install [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)`
+ ` or [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) extension for debugging.`);
+ ` or [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) extension for debugging.`)
.then(() => {}, console.error);
return;
}