clean output buffer in case of thrown exception
This commit is contained in:
parent
a314136829
commit
a6a2cafe09
@ -100,6 +100,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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user