输出日志

20230922-ljl-fixBug
wangchaoxu 1 year ago
parent 2666f5d728
commit 48218e552c

@ -43,7 +43,7 @@ public abstract class TaskBaseService implements TaskHandler {
execute(redisKeyBO);
}catch (Throwable e){
e.printStackTrace();
log.info("任务执行失败 : ",e.getMessage());
log.info("任务执行失败 : ", e);
rollbackRedisKey(redisKeyBO);
}
}
@ -58,7 +58,7 @@ public abstract class TaskBaseService implements TaskHandler {
transactionManager.commit(status);
}catch (Throwable e){
e.printStackTrace();
log.info("任务执行失败 : ",e.getMessage());
log.info("任务执行失败 : ", e);
transactionManager.rollback(status);
rollbackRedisKey(redisKeyBO);
}

Loading…
Cancel
Save