mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
handle promise catches
This commit is contained in:
parent
eb69f67ab7
commit
1d0e93b58e
4 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ export async function selectRunnable(ctx: Ctx, prevRunnable?: RunnableQuickPick,
|
|||
quickPick.onDidHide(() => close()),
|
||||
quickPick.onDidAccept(() => close(quickPick.selectedItems[0])),
|
||||
quickPick.onDidTriggerButton((_button) => {
|
||||
(async () => await makeDebugConfig(ctx, quickPick.activeItems[0].runnable))();
|
||||
makeDebugConfig(ctx, quickPick.activeItems[0].runnable).catch(console.error);
|
||||
close();
|
||||
}),
|
||||
quickPick.onDidChangeActive((active) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue