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