SbloodyS commented on code in PR #16613:
URL:
https://github.com/apache/dolphinscheduler/pull/16613#discussion_r1767828229
##########
dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-prometheus/src/main/java/org/apache/dolphinscheduler/plugin/alert/prometheus/PrometheusAlertSender.java:
##########
@@ -68,7 +67,7 @@ public AlertResult sendMessage(AlertData alertData) {
log.error("Send prometheus alert manager alert error", e);
alertResult = new AlertResult();
alertResult.setSuccess(false);
- alertResult.setMessage(ExceptionUtils.getMessage(e));
Review Comment:
We've already print the stack trace in L68. I think we don't need to print
stack trace here. WDYT?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]