You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/01/05 15:35:21 UTC

(camel) 04/04: (chores) Ensures logging consistency for the UnitOfWorkHelper

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-4.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 3d3fd2a2033584b297a7f9c85b0e670e5287ef6c
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 5 09:22:13 2024 +0100

    (chores) Ensures logging consistency for the UnitOfWorkHelper
---
 .../src/main/java/org/apache/camel/support/UnitOfWorkHelper.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-support/src/main/java/org/apache/camel/support/UnitOfWorkHelper.java b/core/camel-support/src/main/java/org/apache/camel/support/UnitOfWorkHelper.java
index ff46be24560..d15903155a8 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/UnitOfWorkHelper.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/UnitOfWorkHelper.java
@@ -53,7 +53,7 @@ public final class UnitOfWorkHelper {
             uow.done(exchange);
         } catch (Throwable e) {
             LOG.warn("Exception occurred during done UnitOfWork for Exchange: {}. This exception will be ignored.",
-                    exchange, e);
+                    exchange.getExchangeId(), e);
         }
     }