企业微信通知和飞书通知增加发送失败的日志打印
This commit is contained in:
parent
1c9f9fb9c5
commit
8eeac834a3
@ -70,7 +70,7 @@ public class LarkAlarm extends AbstractAlarm<AlarmContext> {
|
||||
if (execute.isOk()) {
|
||||
return true;
|
||||
}
|
||||
log.error("发送lark消息失败:{}", execute.body());
|
||||
LogUtils.error(log, "发送lark消息失败:{}", execute.body());
|
||||
return false;
|
||||
} catch (Exception e) {
|
||||
log.error("发送lark消息失败", e);
|
||||
|
@ -60,7 +60,7 @@ public class QiYeWechatAlarm extends AbstractAlarm<AlarmContext> {
|
||||
if (execute.isOk()) {
|
||||
return true;
|
||||
}
|
||||
log.error("发送企业微信消息失败:{}", execute.body());
|
||||
LogUtils.error(log, "发送企业微信消息失败:{}", execute.body());
|
||||
return false;
|
||||
} catch (Exception e) {
|
||||
log.error("发送企业微信消息失败", e);
|
||||
|
Loading…
Reference in New Issue
Block a user