Avoid missing blk file errors on early download abort

This commit is contained in:
Loporrit
2025-06-26 05:07:10 +00:00
parent 9b95cacc02
commit e4e24d1831
@@ -295,6 +295,11 @@ public partial class FileDownloadManager : DisposableMediatorSubscriberBase
}
catch (OperationCanceledException)
{
if (!fi.Exists)
{
Logger.LogDebug("{dlName}: Detected early cancellation of download", fi.Name);
return;
}
Logger.LogDebug("{dlName}: Detected cancellation of download, partially extracting files for {id}", fi.Name, gameObjectHandler);
}
catch (Exception ex)