[ https://issues.apache.org/jira/browse/SLING-12702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936473#comment-17936473 ]
Konrad Windszus commented on SLING-12702: ----------------------------------------- I improved logging in https://github.com/apache/sling-org-apache-sling-commons-scheduler/commit/f43755d9a3acb331472f61ba8c2f512bb8f700cd. > Improve error message "Scheduling service [java.lang.Runnable] failed" > ---------------------------------------------------------------------- > > Key: SLING-12702 > URL: https://issues.apache.org/jira/browse/SLING-12702 > Project: Sling > Issue Type: Bug > Components: Commons > Affects Versions: Commons Scheduler 2.7.14 > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > > The error message emitted from > https://github.com/apache/sling-org-apache-sling-commons-scheduler/blob/7fa8f8061448e32bab1373e65ec5dd36183bd1cb/src/main/java/org/apache/sling/commons/scheduler/impl/WhiteboardHandler.java#L274 > does not really help with debugging/fixing as it always looks like this: > {code} > *ERROR* [FelixStartLevel] > org.apache.sling.commons.scheduler.impl.WhiteboardHandler Scheduling service > [java.lang.Runnable] failed. > {code} > This is a poor error message as > # it does not contain the reason > # it does not say which object exactly failed, as all scheduler services > implement {{Runnable}} by contract -- This message was sent by Atlassian Jira (v8.20.10#820010)