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 2019/08/01 07:48:57 UTC
[camel] 01/02: CAMEL-13810: Always log ERROR if failed to start
CamelContext
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
commit cf93fecc9f8d36eebd6faad896d89909ed9578c6
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Aug 1 09:26:17 2019 +0200
CAMEL-13810: Always log ERROR if failed to start CamelContext
---
.../src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java b/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
index 11b6e3e..4c3b7a6 100644
--- a/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
+++ b/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
@@ -2291,6 +2291,7 @@ public abstract class AbstractCamelContext extends ServiceSupport implements Ext
return;
}
} else {
+ log.error("Error starting CamelContext (" + getName() + ") due to exception thrown: " + e.getMessage(), e);
throw RuntimeCamelException.wrapRuntimeException(e);
}
}