From 54489807daed432d90fd06cfa2cf58db44e2e059 Mon Sep 17 00:00:00 2001
From: b3yond <b3yond@riseup.net>
Date: Fri, 11 Jan 2019 15:16:37 +0100
Subject: [PATCH] no need for such a verbose error message.

---
 active_bots/mailbot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/active_bots/mailbot.py b/active_bots/mailbot.py
index 984d09f..fbcd02b 100644
--- a/active_bots/mailbot.py
+++ b/active_bots/mailbot.py
@@ -22,7 +22,7 @@ class Mailbot(Bot):
         try:
             mails = mailbox.mbox("/var/mail/" + config['mail']['mbox_user'])
         except FileNotFoundError:
-            logger.error("No mbox file found.", exc_info=True)
+            logger.error("No mbox file found.")
             return reports
         for msg in mails:
             if get_date_from_header(msg['Date']) > user.get_seen_mail():