From 253b312e28ba2e5df977156717df5bffafdf2027 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Thu, 1 Aug 2024 15:37:30 +0300 Subject: [PATCH] Improve exception handling when application fails to start Prevent the usage of the logger when the application has not started regardless of the cause since it's most likely not configured yet. Closes https://github.com/quarkusio/quarkus/issues/42084 --- .../java/io/quarkus/runtime/ApplicationLifecycleManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/runtime/src/main/java/io/quarkus/runtime/ApplicationLifecycleManager.java b/core/runtime/src/main/java/io/quarkus/runtime/ApplicationLifecycleManager.java index d16e5ff7e94af..e9fe1f9819de6 100644 --- a/core/runtime/src/main/java/io/quarkus/runtime/ApplicationLifecycleManager.java +++ b/core/runtime/src/main/java/io/quarkus/runtime/ApplicationLifecycleManager.java @@ -193,6 +193,9 @@ public static void run(Application application, Class