Added status code at debug logging level
@@ -66,6 +66,7 @@ public class ConnectivityChecker {
if (connectionResult.isFailure()) {
logger.error("Failed to connect to the Black Duck server");
+ logger.debug(String.format("The Black Duck server responded with a status code of %d", connectionResult.getHttpStatusCode()));
return ConnectivityResult.failure(connectionResult.getErrorMessage().orElse("Could not reach the Black Duck server or the credentials were invalid."));
}
