clean output buffer in case of thrown exception

Cette révision appartient à :
Daniel Seifert 2024-07-10 08:50:18 +02:00
Parent a314136829
révision a6a2cafe09

Voir le fichier

@ -100,6 +100,7 @@ class MailConfigCheck extends AdminDetailsController
$this->addTplParam('mailer', $mail->getMailer());
$this->addTplParam('communication', $communication);
} catch (Exception $e) {
ob_end_clean();
Registry::getUtilsView()->addErrorToDisplay($e);
}
}