From 547d07c88cde90a2b2ef5b23d9c68cc358307a25 Mon Sep 17 00:00:00 2001 From: Fabricio Cabral Date: Thu, 21 May 2015 00:58:26 -0300 Subject: [PATCH] don't log exception on missing bundle for base name messages --- .../main/java/br/com/caelum/vraptor/core/JstlLocalization.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor/core/JstlLocalization.java b/vraptor-core/src/main/java/br/com/caelum/vraptor/core/JstlLocalization.java index 3e094886a..f9722ba35 100644 --- a/vraptor-core/src/main/java/br/com/caelum/vraptor/core/JstlLocalization.java +++ b/vraptor-core/src/main/java/br/com/caelum/vraptor/core/JstlLocalization.java @@ -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", e); + logger.warn("couldn't find message bundle, creating an empty one"); return new EmptyBundle(); } }