From 468e232d46da1e929b4e7615f5166339a23799ca Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 2 Oct 2022 15:13:34 -0400 Subject: [PATCH] Remove redundant exception message behavior. --- undercover/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/undercover/email.py b/undercover/email.py index 96f9baa..64f3054 100644 --- a/undercover/email.py +++ b/undercover/email.py @@ -46,7 +46,7 @@ Or copy and paste this link into your browser: {reset_link} def exception_alert(e: Exception): - exception_text = 'Exception Message: ' + str(e) + '\n' + ''.join(traceback.format_exception(None, e, e.__traceback__)) + exception_text = ''.join(traceback.format_exception(None, e, e.__traceback__)) data = { 'Messages': [ {