Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Logging changes

Neeraj Gupta3d452c4e9863
diff --git a/mobile/lib/utils/file_download_util.dart b/mobile/lib/utils/file_download_util.dart
index 6f8219ed5c..4a36fae6da 100644
--- a/mobile/lib/utils/file_download_util.dart
+++ b/mobile/lib/utils/file_download_util.dart
@@ -80,7 +80,8 @@ Future<File?> downloadAndDecrypt(
getFileKey(file),
);
fakeProgress?.stop();
- _logger.info('$logPrefix decryption completed');
+ _logger
+ .info('$logPrefix decryption completed (genID ${file.generatedID})');
} catch (e, s) {
fakeProgress?.stop();
_logger.severe("Critical: $logPrefix failed to decrypt", e, s);
diff --git a/mobile/lib/utils/file_util.dart b/mobile/lib/utils/file_util.dart
index 5c9dcede19..9506dbc5c5 100644
--- a/mobile/lib/utils/file_util.dart
+++ b/mobile/lib/utils/file_util.dart
@@ -278,7 +278,8 @@ Future<_LivePhoto?> _downloadLivePhoto(
if (imageFileCache != null && videoFileCache != null) {
return _LivePhoto(imageFileCache, videoFileCache);
} else {
- debugPrint("Warning: Either image or video is missing from remoteLive");
+ debugPrint(
+ "Warning: ${file.tag} either image ${imageFileCache == null} or video ${videoFileCache == null} is missing from remoteLive");
return null;
}
}).catchError((e) {