From 47c94ee9a5481f2905f0b5244da364901de19f8a Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 8 Feb 2018 16:10:06 +0100 Subject: [PATCH] Fix wrongly used exception type on previous commit --- mail/inc/class.mail_integration.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_integration.inc.php b/mail/inc/class.mail_integration.inc.php index 80ab8328cb..66f47a5546 100644 --- a/mail/inc/class.mail_integration.inc.php +++ b/mail/inc/class.mail_integration.inc.php @@ -317,7 +317,7 @@ class mail_integration { } $mailcontent['date'] = strtotime($mailcontent['headers']['DATE']); } - catch (Exception $ex) { + catch (Mail\Smime\PassphraseMissing $ex) { EGroupware\Api\Framework::message(lang('Fetching content of this message failed'. ' because the content of this message seems to be encrypted'. ' and can not be decrypted properly.'),'error');