Skip to content

Commit

Permalink
[#1563] improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Feb 10, 2022
1 parent 2afd966 commit 26e53f6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public <K> K create(Class<K> clazz) throws Exception {
try {
return getBeanOrCreate(clazz);
} catch (Exception e) {
logger.warn("Unable to get bean of class {}, using default Picocli factory", clazz);
logger.warn("Unable to get bean of class {}, using fallback factory {}",
clazz, fallbackFactory.getClass().getName());
return fallbackFactory.create(clazz);
}
}
Expand Down

0 comments on commit 26e53f6

Please sign in to comment.