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

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


The following commit(s) were added to refs/heads/master by this push:
     new 60d76f4  Log message for FileNotFound exception not clear enough #1365
60d76f4 is described below

commit 60d76f41151befd67b7c9b0a4557398363f50d8e
Author: JiriOndrusek <ondrusek.j...@gmail.com>
AuthorDate: Thu Jun 18 16:29:16 2020 +0200

    Log message for FileNotFound exception not clear enough #1365
---
 .../main/java/org/apache/camel/quarkus/core/CamelRoutesCollector.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelRoutesCollector.java
 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelRoutesCollector.java
index 0c63b2a..6c39a65 100644
--- 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelRoutesCollector.java
+++ 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelRoutesCollector.java
@@ -76,7 +76,7 @@ public class CamelRoutesCollector implements RoutesCollector {
                     }
                 }
             } catch (FileNotFoundException e) {
-                LOGGER.debug("No XML routes found in {}. Skipping XML routes 
detection.", part);
+                LOGGER.warn("File {} can not be found. Skipping XML routes 
detection.", part);
             } catch (Exception e) {
                 throw RuntimeCamelException.wrapRuntimeException(e);
             }

Reply via email to