Skip to content

High performance self-hosted photo and video management solution.

chore: log asset name on hash failures (#20608)

shenlong4efbf36d8211
diff --git a/mobile/lib/domain/services/hash.service.dart b/mobile/lib/domain/services/hash.service.dart
index 2a07320906..36a4b9efba 100644
--- a/mobile/lib/domain/services/hash.service.dart
+++ b/mobile/lib/domain/services/hash.service.dart
@@ -96,7 +96,7 @@ class HashService {
if (hash?.length == 20) {
hashed.add(asset.copyWith(checksum: base64.encode(hash!)));
} else {
- _log.warning("Failed to hash file for ${asset.id}");
+ _log.warning("Failed to hash file for ${asset.id}: ${asset.name} created at ${asset.createdAt}");
}
}