Skip to content

Commit 6e016c4

Browse files
authored
Merge pull request #154 from arnaud-morvan/do-not-mask-error-stask
Do not mask original SMTP error
2 parents 2e9b388 + f8e4019 commit 6e016c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smtp_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ def send_email(error: str, config: Dynaconf) -> None:
4949
smtp_conn.quit()
5050
logging.debug("Notification email sent.")
5151
except:
52-
logging.debug("Failed to send notification email!")
52+
logging.exception("Failed to send notification email!")

0 commit comments

Comments
 (0)