[Schmitzm-commits] r1235 - trunk/src/schmitzm/lang

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 5 10:09:48 CET 2010


Author: mojays
Date: 2010-11-05 10:09:48 +0100 (Fri, 05 Nov 2010)
New Revision: 1235

Modified:
   trunk/src/schmitzm/lang/ResourceProvider.java
Log:
More detailed warning message on missing resource.

Modified: trunk/src/schmitzm/lang/ResourceProvider.java
===================================================================
--- trunk/src/schmitzm/lang/ResourceProvider.java	2010-11-04 19:40:10 UTC (rev 1234)
+++ trunk/src/schmitzm/lang/ResourceProvider.java	2010-11-05 09:09:48 UTC (rev 1235)
@@ -495,7 +495,8 @@
 				// Fehler werfen (oder ignorieren)
 				if (ignoreMissingResource) {
 					LOGGER.warn("ResourceBundle " + primaryBundle + ": "
-							+ err.getMessage() + " in");
+							+ err.getMessage() + " (tried to determine key '"+key+"' with prefix '"+prefix+"')");
+					LOGGER.debug("Error occured by the following stack trace:");
 					LangUtil.logDebugLastStackTraceClasses(LOGGER, err
 							.getStackTrace(), 4);
 					return null;



More information about the Schmitzm-commits mailing list