From 108a4566cff9fba73bfdafa6456a42f920eb602a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20HUBSCHER?= Date: Tue, 31 Oct 2017 14:51:30 +0100 Subject: [PATCH] Fix flake8 --- kinto_emailer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kinto_emailer/__init__.py b/kinto_emailer/__init__.py index 393ca5c..3cd7cab 100644 --- a/kinto_emailer/__init__.py +++ b/kinto_emailer/__init__.py @@ -64,7 +64,7 @@ def send_notification(event): mailer.send_immediately(message, fail_silently=False) else: mailer.send_to_queue(message) - except: + except Exception: logger.exception("Could not send notifications")