瀏覽代碼

Merge branch 'master' of https://github.com/xuxueli/xxl-job

xuxueli 5 年之前
父節點
當前提交
a129b07f98
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      xxl-job-core/src/main/java/com/xxl/job/core/executor/impl/XxlJobSpringExecutor.java

+ 1 - 1
xxl-job-core/src/main/java/com/xxl/job/core/executor/impl/XxlJobSpringExecutor.java 查看文件

46
                     String name = serviceBean.getClass().getAnnotation(JobHandler.class).value();
46
                     String name = serviceBean.getClass().getAnnotation(JobHandler.class).value();
47
                     IJobHandler handler = (IJobHandler) serviceBean;
47
                     IJobHandler handler = (IJobHandler) serviceBean;
48
                     if (loadJobHandler(name) != null) {
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
                     registJobHandler(name, handler);
51
                     registJobHandler(name, handler);
52
                 }
52
                 }