ozeigermann 2005/02/11 09:30:39
Modified: src/share/org/apache/slide/common Namespace.java
Log:
At least warn when namespace configuration fails
as otherwise all kinds of meaningful exception might
be suppressed
Revision Changes Path
1.74 +6 -5
jakarta-slide/src/share/org/apache/slide/common/Namespace.java
Index: Namespace.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/Namespace.java,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- Namespace.java 8 Nov 2004 09:25:52 -0000 1.73
+++ Namespace.java 11 Feb 2005 17:30:39 -0000 1.74
@@ -864,7 +864,8 @@
} catch (SlideException e) {
// If that occurs, then most likely the base config was
// already done before
- getLogger().log("Namespace base configuration was already done
before",LOG_CHANNEL,Logger.INFO);
+ getLogger().log("Namespace base configuration might have been
already done before",LOG_CHANNEL,Logger.WARNING);
+ getLogger().log(e,LOG_CHANNEL,Logger.WARNING);
try {
if
(getTransactionManager().getStatus()==Status.STATUS_ACTIVE)
getTransactionManager().rollback();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]