forked from Qortal/qortal
Ignore failures when deleting original QDN compressed file.
This commit is contained in:
parent
168d32a474
commit
4140546afb
@ -477,7 +477,12 @@ public class ArbitraryDataReader {
|
|||||||
// Delete original compressed file
|
// Delete original compressed file
|
||||||
if (FilesystemUtils.pathInsideDataOrTempPath(this.filePath)) {
|
if (FilesystemUtils.pathInsideDataOrTempPath(this.filePath)) {
|
||||||
if (Files.exists(this.filePath)) {
|
if (Files.exists(this.filePath)) {
|
||||||
|
try {
|
||||||
Files.delete(this.filePath);
|
Files.delete(this.filePath);
|
||||||
|
} catch (IOException e) {
|
||||||
|
// Ignore failures as this isn't an essential step
|
||||||
|
LOGGER.info("Unable to delete file at path {}", this.filePath);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user