Skip to content

Handle helper installation errors #80

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

Merged
merged 2 commits into from
Jan 23, 2021
Merged

Conversation

interstateone
Copy link
Contributor

@interstateone interstateone commented Jan 23, 2021

Instead of ignoring errors (either cancellation or failure) from helper installation, this change throws them so callers can react appropriately. Previously, whatever was being done that required the helper would proceed as if installation succeeded, which would always fail. Now, cancellation or failures will complete the subscriptions without attempting the next steps, and without showing more errors to the user. The initial error, for example cancellation in the below screenshot, will still be shown.

The second commit makes a small change to how auth error messages are created to avoid describing the optional wrapper type with Optional(...).

after cancelling helper installation
Screen Shot 2021-01-23 at 1 51 35 PM

Closes #69

Copy link
Contributor

@MattKiazyk MattKiazyk left a comment

Choose a reason for hiding this comment

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

Seems to run as advertised

@interstateone interstateone merged commit 408d05a into main Jan 23, 2021
@interstateone interstateone deleted the handle-helper-install-errors branch January 23, 2021 22:00
@interstateone interstateone added the enhancement New feature or request label Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install helper error shown multiple times after cancel install
2 participants