Compare commits

...

1 Commits

Author SHA1 Message Date
13879e2952 clean output buffer in case of thrown exception 2024-07-10 08:51:05 +02:00

View File

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