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': [ {