@@ -40,6 +40,7 @@ public class ScheduleRunnable implements Runnable {
method.invoke(target);
}
}catch (Exception e) {
+ e.printStackTrace();
throw new BusinessException("执行定时任务失败,e," + e.getCause());
@@ -116,6 +116,7 @@ public class ScheduleUtils {
scheduler.triggerJob(getJobKey(scheduleJob.getJobId()), dataMap);
} catch (SchedulerException e) {
throw new BusinessException("立即执行定时任务失败");