forked from Qortal/qortal
ArbitraryDataReader.deleteWorkingDirectory() is now optional.
This commit is contained in:
parent
bb1593efd2
commit
1694d4552e
@ -209,7 +209,12 @@ public class ArbitraryDataReader {
|
|||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
private void deleteWorkingDirectory() throws IOException {
|
private void deleteWorkingDirectory() throws IOException {
|
||||||
|
try {
|
||||||
FilesystemUtils.safeDeleteDirectory(this.workingPath, true);
|
FilesystemUtils.safeDeleteDirectory(this.workingPath, true);
|
||||||
|
} catch (IOException e) {
|
||||||
|
// Ignore failures as this isn't an essential step
|
||||||
|
LOGGER.info("Unable to delete working path {}: {}", this.workingPath, e.getMessage());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createUncompressedDirectory() throws DataException {
|
private void createUncompressedDirectory() throws DataException {
|
||||||
|
Loading…
Reference in New Issue
Block a user