aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/run.ts
diff options
context:
space:
mode:
authorSahandevs <[email protected]>2021-02-07 17:57:21 +0000
committerSahandevs <[email protected]>2021-02-07 17:57:21 +0000
commit1d0e93b58ee3a43881526c9405ca0120fe6ddb20 (patch)
tree21e936badd25815f720f36f4092beb9bb014a00c /editors/code/src/run.ts
parenteb69f67ab7dd5acb7b5a5cfd34031c73bd54b629 (diff)
handle promise catches
Diffstat (limited to 'editors/code/src/run.ts')
-rw-r--r--editors/code/src/run.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/run.ts b/editors/code/src/run.ts
index 77f9a0991..50c17bc7f 100644
--- a/editors/code/src/run.ts
+++ b/editors/code/src/run.ts
@@ -66,7 +66,7 @@ export async function selectRunnable(ctx: Ctx, prevRunnable?: RunnableQuickPick,
66 quickPick.onDidHide(() => close()), 66 quickPick.onDidHide(() => close()),
67 quickPick.onDidAccept(() => close(quickPick.selectedItems[0])), 67 quickPick.onDidAccept(() => close(quickPick.selectedItems[0])),
68 quickPick.onDidTriggerButton((_button) => { 68 quickPick.onDidTriggerButton((_button) => {
69 (async () => await makeDebugConfig(ctx, quickPick.activeItems[0].runnable))(); 69 makeDebugConfig(ctx, quickPick.activeItems[0].runnable).catch(console.error);
70 close(); 70 close();
71 }), 71 }),
72 quickPick.onDidChangeActive((active) => { 72 quickPick.onDidChangeActive((active) => {