From e775d2f74512c377244f235050b50ab28ab80ed5 Mon Sep 17 00:00:00 2001 From: Pedro Ferreira Date: Mon, 9 Jan 2012 16:01:34 +0100 Subject: [PATCH] [FIX] Log errors when sending mails --- indico/MaKaC/webinterface/rh/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/indico/MaKaC/webinterface/rh/base.py b/indico/MaKaC/webinterface/rh/base.py index 34cdfc189..e9163ec33 100644 --- a/indico/MaKaC/webinterface/rh/base.py +++ b/indico/MaKaC/webinterface/rh/base.py @@ -582,6 +582,7 @@ class RH(RequestHandlerBase): GenericMailer.flushQueue(True) # send emails self._deleteTempFiles() except: + Logger.get('mail').exception('Mail sending operation failed') pass break except MaKaCError, e: -- 2.11.4.GIT