You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2009/05/22 19:31:12 UTC

svn commit: r777629 - /incubator/sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java

Author: fmeschbe
Date: Fri May 22 17:31:12 2009
New Revision: 777629

URL: http://svn.apache.org/viewvc?rev=777629&view=rev
Log:
Logger.error(String, Object, Object) swallows exception, use
signature Logger.error(String, Throwable)

Modified:
    incubator/sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java

Modified: incubator/sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java?rev=777629&r1=777628&r2=777629&view=diff
==============================================================================
--- incubator/sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java (original)
+++ incubator/sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java Fri May 22 17:31:12 2009
@@ -102,7 +102,7 @@
                 } catch (Exception e) {
                     // we don't want that one malicious service brings down the scheduler, so we just log
                     // the exception and continue
-                    this.logger.error("Exception during registering job service {}.", arr[1], e);
+                    this.logger.error("Exception during registering job service " + arr[1], e);
                 }
             }
             this.registeredJobs.clear();