You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2018/07/13 06:17:45 UTC

[camel] branch master updated: CAMEL-12643: Inadequate information for handling catch clauses (#2422)

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

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 034fce6  CAMEL-12643: Inadequate information for handling catch clauses (#2422)
034fce6 is described below

commit 034fce6470894fbe0009fd9d12849b419fbc1344
Author: lzh3636 <lz...@gmail.com>
AuthorDate: Fri Jul 13 02:17:40 2018 -0400

    CAMEL-12643: Inadequate information for handling catch clauses (#2422)
    
    * CAMEL-12643: Inadequate information for handling catch clauses
    
    * CAMEL-12643: Inadequate information for handling catch clauses, some updates
---
 .../main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java
index b30a051..e6a0729 100644
--- a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java
+++ b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/RabbitConsumer.java
@@ -268,7 +268,7 @@ class RabbitConsumer implements com.rabbitmq.client.Consumer {
                     reconnect();
                     connected = true;
                 } catch (IOException | TimeoutException e) {
-                    log.warn("Unable to obtain a RabbitMQ channel. Will try again");
+                    log.warn("Unable to obtain a RabbitMQ channel. Will try again." + " Caused by: " + e.getMessage());
 
                     Integer networkRecoveryInterval = consumer.getEndpoint().getNetworkRecoveryInterval();
                     final long connectionRetryInterval = networkRecoveryInterval != null && networkRecoveryInterval > 0