[mob][photos] Logs
This commit is contained in:
@@ -495,7 +495,7 @@ class MLService {
|
||||
return true;
|
||||
}
|
||||
_logger.severe(
|
||||
"Failed to analyze using FaceML for image with ID: ${instruction.file.uploadedFileID}. Not storing any results locally, which means it will be automatically retried later.",
|
||||
"Failed to analyze using FaceML for image with ID: ${instruction.file.uploadedFileID} and format ${instruction.file.displayName.split('.').last} (${instruction.file.fileType}). Not storing any results locally, which means it will be automatically retried later.",
|
||||
e,
|
||||
s,
|
||||
);
|
||||
|
||||
@@ -330,7 +330,7 @@ Future<String> getImagePathForML(EnteFile enteFile) async {
|
||||
|
||||
if (imagePath == null) {
|
||||
_logger.severe(
|
||||
"Failed to get any data for enteFile with uploadedFileID ${enteFile.uploadedFileID} since its file path is null (isVideo: $isVideo)",
|
||||
"Failed to get any data for enteFile with uploadedFileID ${enteFile.uploadedFileID} and format ${enteFile.displayName.split('.').last} and size ${enteFile.fileSize} since its file path is null (isVideo: $isVideo)",
|
||||
);
|
||||
throw CouldNotRetrieveAnyFileData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user