Improve logging

This commit is contained in:
AsamK 2023-08-22 11:52:22 +02:00
parent a9f1944636
commit 4a37227b95

View file

@ -66,6 +66,7 @@ public class MessageCache {
if (cacheFile.equals(cachedMessage.getFile())) {
return cachedMessage;
}
logger.debug("Moving cached message {} to {}", cachedMessage.getFile().toPath(), cacheFile.toPath());
Files.move(cachedMessage.getFile().toPath(), cacheFile.toPath());
return new CachedMessage(cacheFile);
}