Author: isurues
Date: Sat Oct  9 17:41:41 2010
New Revision: 1006200

URL: http://svn.apache.org/viewvc?rev=1006200&view=rev
Log:
In these 3 notifyObservers methods, a Throwable is cought and just ignored only 
by adding a debug log. Correcting it by adding an error log.

Modified:
    
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=1006200&r1=1006199&r2=1006200&view=diff
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
 Sat Oct  9 17:41:41 2010
@@ -647,8 +647,8 @@ public class AxisConfiguration extends A
             try {
                 observer.serviceUpdate(event, service);
             } catch (Throwable e) {
-                // No need to stop the system due to this, so log and ignore
-                log.debug(e);
+                // No need to stop the system due to this, so log an error and 
ignore
+                log.error("Error occured while notifying observer", e);
             }
         }
     }
@@ -660,8 +660,8 @@ public class AxisConfiguration extends A
             try {
                 anObserversList.moduleUpdate(event, moule);
             } catch (Throwable e) {
-                // No need to stop the system due to this, so log and ignore
-                log.debug(e);
+                // No need to stop the system due to this, so log an error and 
ignore
+                log.error("Error occured while notifying observer", e);
             }
         }
     }
@@ -673,8 +673,8 @@ public class AxisConfiguration extends A
             try {
                 anObserversList.serviceGroupUpdate(event, serviceGroup);
             } catch (Throwable e) {
-                // No need to stop the system due to this, so log and ignore
-                log.debug(e);
+                // No need to stop the system due to this, so log an error and 
ignore
+                log.error("Error occured while notifying observer", e);
             }
         }
     }


Reply via email to