chore(cf): additional info when droplet fails
MODIFY
clouddriver-cloudfoundry/src/main/java/com/netflix/spinnaker/clouddriver/cloudfoundry/client/Applications.java
clouddriver-cloudfoundry/src/main/java/com/netflix/spinnaker/clouddriver/cloudfoundry/client/Applications.java
@@ -523,7 +523,8 @@ public class Applications {
.map(Build::getState)
.orElse(Build.State.FAILED)) {
case FAILED:
- throw new CloudFoundryApiException("Failed to build droplet");
+ throw new CloudFoundryApiException(
+ "Failed to build droplet or there are not enough resources available");
case STAGED:
return true;
default:

chore(cf): additional info when droplet fails (#3700)