mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +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
(cherry picked from commit 0b114fcbc5)
This commit is contained in:
committed by
Henry Yeh
parent
5146f39b58
commit
8ab3da3121
@@ -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