forked from Qortal/qortal
Fixed bugs when importing bootstrap.
This commit is contained in:
parent
9591c4eb58
commit
a6d3891a95
@ -289,6 +289,7 @@ public class Bootstrap {
|
|||||||
LOGGER.info("Starting import of bootstrap...");
|
LOGGER.info("Starting import of bootstrap...");
|
||||||
|
|
||||||
this.doImport();
|
this.doImport();
|
||||||
|
break;
|
||||||
|
|
||||||
} catch (DataException e) {
|
} catch (DataException e) {
|
||||||
LOGGER.info("Bootstrap import failed: {}", e.getMessage());
|
LOGGER.info("Bootstrap import failed: {}", e.getMessage());
|
||||||
@ -314,7 +315,7 @@ public class Bootstrap {
|
|||||||
finally {
|
finally {
|
||||||
if (path != null) {
|
if (path != null) {
|
||||||
try {
|
try {
|
||||||
FileUtils.deleteDirectory(path.toFile());
|
Files.delete(path);
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// Temp folder will be cleaned up by system anyway, so ignore this failure
|
// Temp folder will be cleaned up by system anyway, so ignore this failure
|
||||||
|
Loading…
Reference in New Issue
Block a user