|
@@ -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.error name:"+name);
|
|
49
|
+ throw new RuntimeException("xxl-job jobhandler["+ name +"] naming conflicts.");
|
50
|
50
|
}
|
51
|
51
|
registJobHandler(name, handler);
|
52
|
52
|
}
|