ptrsuder / cloud-folder-browser

Desktop .NET application that allows user to browse/sync/download shared folders from several cloud storage services
GNU General Public License v3.0
53 stars 6 forks source link

When exception occurs during WebClient request, download stalls and takes up a download slot #36

Closed matterramun closed 2 years ago

matterramun commented 2 years ago

Application seems to lack error handling for WebClient exceptions for Allsync downloads.

When an exception occurs: 1) record is created in log. Ex. "exception: An exception occurred during a WebClient request.05/04/2022 4:59:16 PM" 2) Download stalls. Download continues to persist in the download slot in the UI and appears to be continuing to download: image

Result: Stalled download will block further downloads if all 4 downloads experience an exception. Download session will never complete. Alternative result: If at least 1 download slot continues to successfully complete downloads, then download session will continue until all that is left is the stalled downloads. Download complete message will never appear. UI will continue to display as if it is attempting to complete the download. Download will never complete.

Preferred possible experiences: A) Stalled download is cleared, download is automatically reattempted a configurable amount of times. B) Application indicates that download has stalled and allow user to clear and reattempt via a ui button.