Unverified 提交 99e7bfc6 authored 作者: 许雪里's avatar 许雪里 提交者: GitHub

Merge pull request #1186 from mayben0t/master

完善报错信息
...@@ -46,7 +46,7 @@ public class XxlJobSpringExecutor extends XxlJobExecutor implements ApplicationC ...@@ -46,7 +46,7 @@ public class XxlJobSpringExecutor extends XxlJobExecutor implements ApplicationC
String name = serviceBean.getClass().getAnnotation(JobHandler.class).value(); String name = serviceBean.getClass().getAnnotation(JobHandler.class).value();
IJobHandler handler = (IJobHandler) serviceBean; IJobHandler handler = (IJobHandler) serviceBean;
if (loadJobHandler(name) != null) { if (loadJobHandler(name) != null) {
throw new RuntimeException("xxl-job jobhandler naming conflicts."); throw new RuntimeException("xxl-job jobhandler naming conflicts.error name:"+name);
} }
registJobHandler(name, handler); registJobHandler(name, handler);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论