Skip to content

Commit

Permalink
Widen net for errors in vcap initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Syer committed Sep 2, 2013
1 parent 5dd35aa commit 7a6d248
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private Properties getPropertiesFromApplication(Environment environment) {
properties.putAll(map);
}
}
catch (IllegalArgumentException e) {
catch (Exception e) {
logger.error("Could not parse VCAP_APPLICATION", e);
}
return properties;
Expand All @@ -187,7 +187,7 @@ private Properties getPropertiesFromServices(Environment environment) {
}
}
}
catch (IllegalArgumentException e) {
catch (Exception e) {
logger.error("Could not parse VCAP_APPLICATION", e);
}
return properties;
Expand Down

0 comments on commit 7a6d248

Please sign in to comment.