clean output buffer in case of thrown exception
This commit is contained in:
parent
3362941449
commit
13879e2952
@ -101,6 +101,7 @@ class MailConfigCheck extends AdminDetailsController
|
||||
$this->addTplParam('mailer', $mail->getMailer());
|
||||
$this->addTplParam('communication', $communication);
|
||||
} catch (Exception $e) {
|
||||
ob_end_clean();
|
||||
Registry::getUtilsView()->addErrorToDisplay($e);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user