don't catch irrelevant errors
This commit is contained in:
parent
e6eb559e8b
commit
586aa9e9c8
@ -87,13 +87,6 @@ class MailConfigCheck extends AdminDetailsController
|
||||
|
||||
protected function getCurrentMailer(): void
|
||||
{
|
||||
set_error_handler(
|
||||
function ($errno, $errstr, $errfile, $errline) {
|
||||
throw oxNew(Exception::class, $errstr.' in '.$errfile.'('.$errline.')', $errno);
|
||||
},
|
||||
E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
|
||||
);
|
||||
|
||||
try {
|
||||
$shop = Registry::getConfig()->getActiveShop();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user