vy commented on code in PR #2062:
URL: https://github.com/apache/logging-log4j2/pull/2062#discussion_r1415165956
##########
log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java:
##########
@@ -746,6 +758,22 @@ public String getStringProperty(final String key) {
return result;
}
+ private String sourceGetProperty(ContextAwarePropertySource source,
String contextName, String key) {
+ try {
+ return source.getProperty(contextName, key);
+ } catch (Throwable ex) {
+ return null;
Review Comment:
Shouldn't we better dump `ex` using the `StatusLogger` or something else?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]