public onBootException ( |
||
$event |
public function onBootException(GetResponseForExceptionEvent $event)
{
if ($this->isProfilerRequest($event->getRequest())) {
return;
}
$exception = $event->getException();
if ($exception instanceof BootException) {
$event->setResponse($exception->getResponse());
$event->stopPropagation();
}
}