From 0e27485c36de12bb4831e2a48c63a3a4e56d3da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 25 Aug 2019 00:47:50 +0200 Subject: Remove exception catchall in omemo plugin as it's now handled in plugin_e2ee MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/omemo_plugin.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py index b8ec293e..6efa8c08 100644 --- a/plugins/omemo_plugin.py +++ b/plugins/omemo_plugin.py @@ -155,10 +155,5 @@ class Plugin(E2EEPlugin): 'An error occured while fetching information on a recipient.\n%r' % exn, ) return None - except Exception as exn: - self.display_error( - 'An error occured while attempting to encrypt.\n%r' % exn, - ) - raise return None -- cgit v1.2.3