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 08:25:06 UTC

(camel) branch main updated: (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 main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 7562084590c (chores) Ensures logging consistency for the UnitOfWorkHelper
7562084590c is described below

commit 7562084590cd4a1c2cc9678e0a269a7a3c9d1103
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 e3b32b56a20..5a3e82bd203 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 (Exception e) {
             LOG.warn("Exception occurred during done UnitOfWork for Exchange: {}. This exception will be ignored.",
-                    exchange, e);
+                    exchange.getExchangeId(), e);
         }
     }