π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Logs for resumable download failure
Neeraj Guptaf5ca4a9d15ab
diff --git a/mobile/lib/module/download/manager.dart b/mobile/lib/module/download/manager.dartindex 614ab23214..8b2c6b7d23 100644--- a/mobile/lib/module/download/manager.dart+++ b/mobile/lib/module/download/manager.dart@@ -187,6 +187,7 @@ class DownloadManager {}} catch (e) {if (e is DioException && e.type == DioExceptionType.cancel) {+ _logger.info('Download cancelled for ${task.filename}');// Complete future with current task state (paused or cancelled)final currentTask = _tasks[task.id];if (currentTask != null && !completer.isCompleted) {@@ -194,7 +195,7 @@ class DownloadManager {}return;}-+ _logger.warning('Error downloading ${task.filename}', e);task = task.copyWith(status: DownloadStatus.error, error: e.toString());_updateTask(task);if (!completer.isCompleted) {