mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-14 06:54:08 +03:00
don't log error thrown in ThreadProcessor.php:349, just abort
This commit is contained in:
parent
2df50d9096
commit
0a13540e23
@ -22,6 +22,7 @@ namespace Mibew\RequestProcessor;
|
||||
// Import namespaces and classes of the core
|
||||
use Mibew\Database;
|
||||
use Mibew\EventDispatcher\EventDispatcher;
|
||||
use Mibew\Http\Exception\AccessDeniedException;
|
||||
use Mibew\RequestProcessor\Exception\AbstractProcessorException;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
@ -240,6 +241,9 @@ abstract class AbstractProcessor
|
||||
return $this->buildSyncResponses($this->responses);
|
||||
}
|
||||
}
|
||||
} catch (AccessDeniedException $e) {
|
||||
// don't log exception thrown in ThreadProcessor
|
||||
return false;
|
||||
} catch (\Exception $e) {
|
||||
// Something went wrong. Trigger error event
|
||||
$vars = array('exception' => $e);
|
||||
|
Loading…
Reference in New Issue
Block a user