Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: errors thrown in process tree lookup not being visible #1291

Merged
merged 1 commit into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This changelog records changes to stable releases since 1.50.2. "TBA" changes here may be available in the [nightly release](https://github.com/microsoft/vscode-js-debug/#nightly-extension) before they're in stable. Note that the minor version (`v1.X.0`) corresponds to the VS Code version js-debug is shipped in, but the patch version (`v1.50.X`) is not meaningful.

## Nightly (only)

- fix: errors thrown in process tree lookup not being visible ([vscode#150754](https://github.com/microsoft/vscode/issues/150754))

## v1.68 (May 2022)

### v1.68.0 - 2022-05-30
Expand Down
6 changes: 5 additions & 1 deletion src/ui/processPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,11 @@ async function listProcesses(): Promise<IProcessItem | undefined> {
quickPick.items = acc;
return acc;
}, [])
.then(() => (quickPick.busy = false));
.then(() => (quickPick.busy = false))
.catch(err => {
vscode.window.showErrorMessage(`Error listing processes: ${err.message}`);
quickPick.dispose();
});

const item = await itemPromise;
hasPicked = true;
Expand Down