Merge pull request #1186 from mayben0t/master

完善报错信息
pull/14/head
许雪里 5 years ago committed by GitHub
commit 99e7bfc66c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,7 +46,7 @@ public class XxlJobSpringExecutor extends XxlJobExecutor implements ApplicationC
String name = serviceBean.getClass().getAnnotation(JobHandler.class).value();
IJobHandler handler = (IJobHandler) serviceBean;
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);
}

Loading…
Cancel
Save