Commit bfa97591205908621e6b029d72d2b55237e26082
1 parent
e6769256
fix(DEFECT-831): 定时任务调用方法不存在,提示内容修改
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -117,7 +117,7 @@ public class ScheduleUtils { |
117 | 117 | try{ |
118 | 118 | obj = SpringBeanUtils.getBean(StringUtils.split(invokeTarget, ".")[0]); |
119 | 119 | }catch (Exception e){ |
120 | - throw new YtDataValidationException(e.getMessage()); | |
120 | + throw new YtDataValidationException("调用方法【"+invokeTarget+"】不存在"); | |
121 | 121 | } |
122 | 122 | return containsAnyIgnoreCase( |
123 | 123 | obj.getClass().getPackage().getName(), | ... | ... |