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

Do not silently ignore errors not caused by user closing picker #115

Merged
merged 1 commit into from
Nov 12, 2021

Conversation

balloob
Copy link
Member

@balloob balloob commented Nov 12, 2021

await navigator.serial.requestPort() will raise not just when the user clicks "cancel", on Widnows it can also raise when the serial port is already in use.

Fixes #113

@balloob balloob merged commit ddbe525 into main Nov 12, 2021
@balloob balloob deleted the alert-request-port-errors branch November 12, 2021 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No error dialog when com port cannot be opened
1 participant