Add a log message on deletion failure
This commit is contained in:
parent
19f9bcfe8b
commit
714ed77e17
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user