forked from Qortal/qortal
Fixed issue causing bootstrap validation to be ignored before creation.
This commit is contained in:
parent
a78af8f248
commit
eb991c6026
@ -52,7 +52,8 @@ public class BootstrapResource {
|
||||
try {
|
||||
bootstrap.checkRepositoryState();
|
||||
} catch (DataException e) {
|
||||
LOGGER.info("Not ready to create bootstrap: ", e.getMessage());
|
||||
LOGGER.info("Not ready to create bootstrap: {}", e.getMessage());
|
||||
throw ApiExceptionFactory.INSTANCE.createCustomException(request, ApiError.REPOSITORY_ISSUE, e.getMessage());
|
||||
}
|
||||
bootstrap.validateBlockchain();
|
||||
return bootstrap.create();
|
||||
|
Loading…
x
Reference in New Issue
Block a user