Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Fix issue where service binding error when deleting a service is not a
Browse files Browse the repository at this point in the history
CloudFoundryException.
  • Loading branch information
nsingh committed Jun 11, 2015
1 parent dea2dba commit de8ada2
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -2059,7 +2059,9 @@ protected List<CloudService> doRun(CloudFoundryOperations client, SubMonitor pro
List<CloudServiceBinding> bindings = (instance != null) ? instance.getBindings() : null;
shouldDelete = bindings == null || bindings.isEmpty();
}
catch (CloudFoundryException cfe) {
catch (Throwable t) {
// If it is a server or network error, it will still be caught below
// when fetching the list of apps:
// [96494172] - If fetching service instances fails, try
// finding an app with the bound service through the
// list of
Expand Down

0 comments on commit de8ada2

Please sign in to comment.