Browse Source

[Fix-16492][alert] FeiShuSender Exception.getMessage is null (#16498)

* Update FeiShuSender.java

The Exception.getMessage present here is null, and the problem has occurred

* Update dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-feishu/src/main/java/org/apache/dolphinscheduler/plugin/alert/feishu/FeiShuSender.java

Co-authored-by: xiangzihao <zihaoxiang@apache.org>

---------

Co-authored-by: xiangzihao <zihaoxiang@apache.org>
dev
吴延博 4 months ago committed by GitHub
parent
commit
219a232b86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-feishu/src/main/java/org/apache/dolphinscheduler/plugin/alert/feishu/FeiShuSender.java

2
dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-feishu/src/main/java/org/apache/dolphinscheduler/plugin/alert/feishu/FeiShuSender.java

@ -134,7 +134,7 @@ public final class FeiShuSender {
String resp = sendMsg(alertData);
return checkSendFeiShuSendMsgResult(resp);
} catch (Exception e) {
log.info("send fei shu alert msg exception : {}", e.getMessage());
log.error("send fei shu alert failed:", e);
alertResult = new AlertResult();
alertResult.setSuccess(false);
alertResult.setMessage("send fei shu alert fail.");

Loading…
Cancel
Save