mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat(reports): send notification on error with grace (#13135)
* fix: add config to disable dataset ownership on the old api * fix CI docker build * fix logic * add deprecation comment on the config * feat: send alerts reports errors to recipients * update * feat(reports): send notification on error with grace * merge and revert config * fix lint and MySQL test * fix mysql tests
This commit is contained in:
committed by
GitHub
parent
27f7d1157f
commit
0b114fcbc5
@@ -958,7 +958,7 @@ def send_mime_email(
|
||||
smtp.starttls()
|
||||
if smtp_user and smtp_password:
|
||||
smtp.login(smtp_user, smtp_password)
|
||||
logger.info("Sent an email to %s", str(e_to))
|
||||
logger.debug("Sent an email to %s", str(e_to))
|
||||
smtp.sendmail(e_from, e_to, mime_msg.as_string())
|
||||
smtp.quit()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user