Bladeren bron

完善报错信息

maybenot 5 jaren geleden
bovenliggende
commit
07cfcd58d6

+ 1 - 1
xxl-job-core/src/main/java/com/xxl/job/core/executor/impl/XxlJobSpringExecutor.java Bestand weergeven

@@ -46,7 +46,7 @@ public class XxlJobSpringExecutor extends XxlJobExecutor implements ApplicationC
46 46
                     String name = serviceBean.getClass().getAnnotation(JobHandler.class).value();
47 47
                     IJobHandler handler = (IJobHandler) serviceBean;
48 48
                     if (loadJobHandler(name) != null) {
49
-                        throw new RuntimeException("xxl-job jobhandler naming conflicts.");
49
+                        throw new RuntimeException("xxl-job jobhandler naming conflicts.error name:"+name);
50 50
                     }
51 51
                     registJobHandler(name, handler);
52 52
                 }