From 79ad9e3eb969d8b651d87ac67e0a9fe03d3224fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Barto=C5=A1?= Date: Thu, 5 Sep 2024 15:33:53 +0200 Subject: [PATCH] Show exception cause during logging filter initialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #43051 Signed-off-by: Martin Bartoš --- .../java/io/quarkus/runtime/logging/LoggingSetupRecorder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/runtime/src/main/java/io/quarkus/runtime/logging/LoggingSetupRecorder.java b/core/runtime/src/main/java/io/quarkus/runtime/logging/LoggingSetupRecorder.java index 6108893f04013b..1dd3b0e396c80d 100644 --- a/core/runtime/src/main/java/io/quarkus/runtime/logging/LoggingSetupRecorder.java +++ b/core/runtime/src/main/java/io/quarkus/runtime/logging/LoggingSetupRecorder.java @@ -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); } } });