Skip to content

Commit

Permalink
fix: update log message for ALERT_REPORTS_NOTIFICATION_DRY_RUN
Browse files Browse the repository at this point in the history
  • Loading branch information
nytai committed Apr 6, 2023
1 parent c5eecc7 commit 532a5f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion superset/reports/commands/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,11 @@ def _send(
try:
if app.config["ALERT_REPORTS_NOTIFICATION_DRY_RUN"]:
logger.info(
"Would send notification for alert %s, to %s",
"Would send notification for alert %s, to %s. "
"%s is enabled, set it to False to send notifications.",
self._report_schedule.name,
recipient.recipient_config_json,
app.config["ALERT_REPORTS_NOTIFICATION_DRY_RUN"],
)
else:
notification.send()
Expand Down

0 comments on commit 532a5f8

Please sign in to comment.