Add a log message on deletion failure

This commit is contained in:
Trustin Lee 2014-01-24 16:44:22 +09:00
parent 2249437225
commit bea7039c3e

View File

@ -229,7 +229,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;
}