Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improving error message when a bundle is not found #1010

Merged
merged 1 commit into from
Aug 20, 2015

Conversation

marcosalles
Copy link
Contributor

Closes #1006

@@ -77,7 +77,7 @@ private ResourceBundle extractUnsafeBundle(Object bundle, Locale locale) {
try {
return ResourceBundle.getBundle(baseName, locale);
} catch (MissingResourceException e) {
logger.warn("couldn't find message bundle, creating an empty one");
logger.warn("Couldn't find message bundle for base name '{}' and locale '{}', creating an empty one", baseName, locale);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! thanks for your pr :)

Turini added a commit that referenced this pull request Aug 20, 2015
…ment

improving error message when a bundle is not found
@Turini Turini merged commit 880bced into master Aug 20, 2015
@Turini Turini deleted the messageBundleErrorMessageImprovement branch August 20, 2015 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants