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(updates): Add error handling to getLatestRelease() #317

Merged
merged 2 commits into from
Jun 6, 2022
Merged

fix(updates): Add error handling to getLatestRelease() #317

merged 2 commits into from
Jun 6, 2022

Conversation

AXDOOMER
Copy link
Collaborator

@AXDOOMER AXDOOMER commented Jun 3, 2022

This fixes #316

Any feedback welcome. Even if nit-picky.

@AXDOOMER AXDOOMER requested review from TheDukeofErl and ZyanKLee June 3, 2022 18:52
TheDukeofErl
TheDukeofErl previously approved these changes Jun 3, 2022
Copy link
Collaborator

@TheDukeofErl TheDukeofErl left a comment

Choose a reason for hiding this comment

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

LGTM

@AXDOOMER
Copy link
Collaborator Author

AXDOOMER commented Jun 5, 2022

I've made it so getLatestRelease() can handle any error that can occur inside it. The error handling was completely missing from this function. This will fix #321

@AXDOOMER AXDOOMER changed the title fix(updates): Fix crash when no internet connection fix(updates): Add error handling to getLatestRelease() Jun 5, 2022
@Technetium1
Copy link

The phrasing could maybe reflect there's a network issue. LGTM either way.

@ZyanKLee ZyanKLee merged commit 6f697e4 into noisetorch:master Jun 6, 2022
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.

Checking for updates causes the app to crash
4 participants