Commit 8c7c5d4d authored by Dave Syer's avatar Dave Syer Committed by Phillip Webb

Widen net for errors in vcap initializer

parent e2b3c03f
...@@ -160,7 +160,7 @@ public class VcapApplicationContextInitializer implements ...@@ -160,7 +160,7 @@ public class VcapApplicationContextInitializer implements
properties.putAll(map); properties.putAll(map);
} }
} }
catch (IllegalArgumentException e) { catch (Exception e) {
logger.error("Could not parse VCAP_APPLICATION", e); logger.error("Could not parse VCAP_APPLICATION", e);
} }
return properties; return properties;
...@@ -187,7 +187,7 @@ public class VcapApplicationContextInitializer implements ...@@ -187,7 +187,7 @@ public class VcapApplicationContextInitializer implements
} }
} }
} }
catch (IllegalArgumentException e) { catch (Exception e) {
logger.error("Could not parse VCAP_APPLICATION", e); logger.error("Could not parse VCAP_APPLICATION", e);
} }
return properties; return properties;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment