Skip to content

Commit

Permalink
Log message for FileNotFound exception not clear enough apache#1365
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriOndrusek committed Jun 18, 2020
1 parent e9bbeec commit eb88b74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public List<RoutesDefinition> collectXmlRoutesFromDirectory(CamelContext camelCo
}
}
} catch (FileNotFoundException e) {
LOGGER.debug("No XML routes found in {}. Skipping XML routes detection.", part);
LOGGER.warn("Resource {} can not be parsed. Skipping XML routes detection.", part);
} catch (Exception e) {
throw RuntimeCamelException.wrapRuntimeException(e);
}
Expand Down

0 comments on commit eb88b74

Please sign in to comment.