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

This commit is contained in:
shenlong 2025-08-04 11:37:50 +05:30 committed by GitHub
parent e2c3c39597
commit 4efbf36d82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}");
}
}