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:
Daniel Vaz Gaspar
2021-02-24 21:31:31 +00:00
committed by GitHub
parent 27f7d1157f
commit 0b114fcbc5
8 changed files with 309 additions and 50 deletions

View File

@@ -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: