Skip to content

Retry failed downloads, rather than crashing#12

Open
fancyfinn9 wants to merge 3 commits intoGalaxy1036:masterfrom
fancyfinn9:master
Open

Retry failed downloads, rather than crashing#12
fancyfinn9 wants to merge 3 commits intoGalaxy1036:masterfrom
fancyfinn9:master

Conversation

@fancyfinn9
Copy link
Copy Markdown

  • Adds download retrying - rather than crashing, it will retry the download a specified amount of times (Max retries in the settings)
  • Added error handling for connection issues, such as asset downloads (see above) and initial connection
  • Renamed function ui.download_widget.DownloadWidget.on_donwload_finish to ui.download_widget.DownloadWidget.on_download_finish

Previous behaviour: If an error occurs while downloading, the program crashes (due to no error handling)

New behaviour: If an error occurs while downloading, the program will retry the download, up to an amount specified in the settings. If it still can't download the file it will gracefully stop the download and notify the user.
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.

1 participant