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

Listen for update-already-running error #1111

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

ebma
Copy link
Member

@ebma ebma commented Jul 13, 2020

Catch errors thrown by autoUpdater and check if it was thrown because the update is already running. Throw an error with a better message in that case.
Subscribing to errors of autoUpdater will prevent from exceptions being thrown and shown in the alert window of the application.

Closes #1110.

Subscribing to errors of autoUpdater will prevent thrown exceptions
@andywer andywer merged commit 568d3d8 into master Jul 21, 2020
@andywer andywer deleted the bugfix/1110-fix-electron-update-twice-error branch July 21, 2020 09:13
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.

Electron exception when pressing update notification twice
2 participants