Fix wrongly used exception type on previous commit

This commit is contained in:
Hadi Nategh 2018-02-08 16:10:06 +01:00
parent cec3cc2170
commit f576fbd722

View File

@ -317,7 +317,7 @@ class mail_integration {
} }
$mailcontent['date'] = strtotime($mailcontent['headers']['DATE']); $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'. EGroupware\Api\Framework::message(lang('Fetching content of this message failed'.
' because the content of this message seems to be encrypted'. ' because the content of this message seems to be encrypted'.
' and can not be decrypted properly.'),'error'); ' and can not be decrypted properly.'),'error');