mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Widen net for errors in vcap initializer
This commit is contained in:
parent
e2b3c03fc4
commit
8c7c5d4dc9
@ -160,7 +160,7 @@ public class VcapApplicationContextInitializer implements
|
||||
properties.putAll(map);
|
||||
}
|
||||
}
|
||||
catch (IllegalArgumentException e) {
|
||||
catch (Exception e) {
|
||||
logger.error("Could not parse VCAP_APPLICATION", e);
|
||||
}
|
||||
return properties;
|
||||
@ -187,7 +187,7 @@ public class VcapApplicationContextInitializer implements
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IllegalArgumentException e) {
|
||||
catch (Exception e) {
|
||||
logger.error("Could not parse VCAP_APPLICATION", e);
|
||||
}
|
||||
return properties;
|
||||
|
Loading…
Reference in New Issue
Block a user