vy commented on code in PR #4049:
URL: https://github.com/apache/logging-log4j2/pull/4049#discussion_r3316136850


##########
log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/ThrowableExtendedStackTraceRenderer.java:
##########
@@ -181,7 +181,7 @@ private static Class<?> loadClass(final ClassLoader loader, 
final String classNa
                     if (clazz != null) {
                         return clazz;
                     }
-                } catch (final Exception ignored) {
+                } catch (final Throwable ignored) {

Review Comment:
   > Catching `Throwable` might be excessive
   
   This is precisely what we do in `util.Loader`, and I'm inclined to keep 
similar functionalities aligned. If you think they need to change, maybe we 
should carry that out in a separate PR focusing on that change.



-- 
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]

Reply via email to