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: report more detailed errors in shell.openExternal() on Windows #33620

Merged
merged 1 commit into from Apr 7, 2022

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Apr 5, 2022

Description of Change

Report more detailed errors in shell.openExternal() on Windows.

Before:

Error: Failed to open

After:

Error: Failed to open: The system cannot find the file specified. (0x2)

Checklist

Release Notes

Notes: shell.openExternal() now reports more detailed errors on Windows.

@miniak miniak added semver/patch backwards-compatible bug fixes target/15-x-y labels Apr 5, 2022
@miniak miniak self-assigned this Apr 5, 2022
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Apr 5, 2022
@miniak miniak requested a review from codebytere April 5, 2022 15:29
@miniak miniak force-pushed the miniak/shell-open-external-error branch from 1cbbb6c to dfbff9d Compare April 5, 2022 15:48
Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Apr 6, 2022
@nornagon nornagon merged commit 4d4682c into main Apr 7, 2022
@nornagon nornagon deleted the miniak/shell-open-external-error branch April 7, 2022 18:07
@release-clerk
Copy link

release-clerk bot commented Apr 7, 2022

Release Notes Persisted

shell.openExternal() now reports more detailed errors on Windows.

@trop
Copy link
Contributor

trop bot commented Apr 7, 2022

I have automatically backported this PR to "15-x-y", please check out #33656

@trop
Copy link
Contributor

trop bot commented Apr 7, 2022

I have automatically backported this PR to "16-x-y", please check out #33657

@trop
Copy link
Contributor

trop bot commented Apr 7, 2022

I have automatically backported this PR to "17-x-y", please check out #33658

@trop
Copy link
Contributor

trop bot commented Apr 7, 2022

I have automatically backported this PR to "18-x-y", please check out #33659

@trop
Copy link
Contributor

trop bot commented Apr 7, 2022

I have automatically backported this PR to "19-x-y", please check out #33660

@deepak1556
Copy link
Member

/trop run backport-to 18-x-y

@trop
Copy link
Contributor

trop bot commented Apr 11, 2022

The backport process for this PR has been manually initiated - sending your PR to 18-x-y!

@trop
Copy link
Contributor

trop bot commented Apr 11, 2022

I have automatically backported this PR to "18-x-y", please check out #33705

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants