Skip to content

Commit

Permalink
Show exception cause during logging filter initialization
Browse files Browse the repository at this point in the history
Closes #43051

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
  • Loading branch information
mabartos committed Sep 5, 2024
1 parent ffded0b commit 6c4eb26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public void accept(String name, String className) {
try {
nameToFilter.put(name, logFilterFactory.create(className));
} catch (Exception e) {
throw new RuntimeException("Unable to create instance of Logging Filter '" + className + "'");
throw new RuntimeException("Unable to create instance of Logging Filter '" + className + "'", e);
}
}
});
Expand Down

0 comments on commit 6c4eb26

Please sign in to comment.