This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 9fdc6b4a0acc2326c0d374797d5c4a8a80b3567a Author: Claus Ibsen <[email protected]> AuthorDate: Fri Jul 10 23:08:49 2026 +0200 chore: do not log stacktrace for theme preference read failure A single WARN line is sufficient when the TUI config file cannot be read. The stacktrace is noise in test output and normal operation. Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .../main/java/org/apache/camel/dsl/jbang/core/commands/tui/Theme.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/Theme.java b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/Theme.java index a91368c54a89..8b397a5b6c73 100644 --- a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/Theme.java +++ b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/Theme.java @@ -555,8 +555,7 @@ public final class Theme { private static void logPersistedReadFallbackOnce(Throwable t) { if (!persistedReadFallbackLogged) { persistedReadFallbackLogged = true; - LOG.warn("Camel TUI theme preference could not be read; falling back to the default theme for this session", - t); + LOG.warn("Camel TUI theme preference could not be read; falling back to the default theme for this session"); } }
