Skip to content

Commit

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

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
(cherry picked from commit 6c4eb26)
  • Loading branch information
mabartos authored and gsmet committed Sep 6, 2024
1 parent 1531f96 commit a921ccf
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 a921ccf

Please sign in to comment.