[mob] Logging changes
This commit is contained in:
parent
b00ab0541e
commit
3d452c4e98
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue