mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:17:23 +01:00
fix cleanup of outdated files in filescanner
This commit is contained in:
parent
605c1d3774
commit
14e5b5bb21
3 changed files with 9 additions and 3 deletions
|
|
@ -68,7 +68,10 @@ public partial class ApiController
|
|||
{
|
||||
await wc.DownloadFileTaskAsync(downloadUri, fileName).ConfigureAwait(false);
|
||||
}
|
||||
catch { }
|
||||
catch (Exception ex) {
|
||||
Logger.Warn(ex.Message);
|
||||
Logger.Warn(ex.StackTrace);
|
||||
}
|
||||
|
||||
CurrentDownloads[downloadId].Single(f => string.Equals(f.Hash, hash, StringComparison.Ordinal)).Transferred = CurrentDownloads[downloadId].Single(f => string.Equals(f.Hash, hash, StringComparison.Ordinal)).Total;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue