Skip to content

Commit 951a968

Browse files
skipping stack trace
[ci skip]
1 parent 9c2f852 commit 951a968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/cryptomator/cryptofs/attr/CryptoBasicFileAttributes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private static long calculatePlaintextFileSize(Path ciphertextPath, long size, C
6161
try {
6262
return Cryptors.cleartextSize(size - cryptor.fileHeaderCryptor().headerSize(), cryptor);
6363
} catch (IllegalArgumentException e) {
64-
LOG.warn("Unable to calculate cleartext file size for " + ciphertextPath + ".", e);
64+
LOG.warn("Unable to calculate cleartext file size for {}. Ciphertext size (including header): {}", ciphertextPath, size);
6565
return 0l;
6666
}
6767
}

0 commit comments

Comments
 (0)