Skip to content

Commit

Permalink
one line logging
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Jul 11, 2024
1 parent def56fe commit 9508ee5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ default String getName() {
} catch (MissingResourceException e) {
var clazz = this.getClass();
var logger = LoggerFactory.getLogger(clazz);
logger.warn("Failed to load localized display name for {}. Falling back to not-localized display name/class name.", clazz.getName());
logger.debug("Reason for failure of {}.", clazz.getName(), e);
logger.warn("Failed to load localized display name for {}. Falling back to not-localized display name/class name.", clazz.getName(), e);
}
}

Expand Down

0 comments on commit 9508ee5

Please sign in to comment.