slawekjaranowski commented on code in PR #234:
URL: https://github.com/apache/maven-archetype/pull/234#discussion_r1808474285
##########
archetype-common/src/main/java/org/apache/maven/archetype/DefaultArchetypeManager.java:
##########
@@ -146,6 +146,7 @@ public ArchetypeCatalog getInternalCatalog() {
return source.getArchetypeCatalog(null, null);
} catch (ArchetypeDataSourceException e) {
+ getLogger().warn("failed to read catalog", e);
Review Comment:
As it is warning maybe we should not print whole stacktrace in warn level
but print in debug
we ca do it like:
```
getLogger().warn("failed to read catalog: " + e.getMessage(),
getLogger().isDebugEnabled() ? e : null);
```
what do you think?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]