forked from Qortal/qortal
Log the full exception details and stack trace when creating bootstraps.
This commit is contained in:
parent
f6c1a7e6db
commit
63cabbe960
@ -54,6 +54,7 @@ public class BootstrapResource {
|
|||||||
return bootstrap.create();
|
return bootstrap.create();
|
||||||
|
|
||||||
} catch (DataException | InterruptedException | IOException e) {
|
} catch (DataException | InterruptedException | IOException e) {
|
||||||
|
LOGGER.info("Unable to create bootstrap", e);
|
||||||
throw ApiExceptionFactory.INSTANCE.createCustomException(request, ApiError.REPOSITORY_ISSUE, e.getMessage());
|
throw ApiExceptionFactory.INSTANCE.createCustomException(request, ApiError.REPOSITORY_ISSUE, e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user