Log the full exception details and stack trace when creating bootstraps.

This commit is contained in:
CalDescent 2021-10-09 11:39:08 +01:00
parent f6c1a7e6db
commit 63cabbe960

View File

@ -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());
} }
} }