Add a log message on deletion failure

This commit is contained in:
Trustin Lee 2014-01-24 16:44:22 +09:00
parent 19f9bcfe8b
commit 714ed77e17

View File

@ -241,7 +241,8 @@ public abstract class AbstractDiskHttpData extends AbstractHttpData {
try {
fileChannel.force(false);
fileChannel.close();
} catch (IOException e) { //ignore
} catch (IOException e) {
logger.warn("Failed to close a file.", e);
}
fileChannel = null;
}