public function onBootException(GetResponseForExceptionEvent $event)
    {
        if ($this->isProfilerRequest($event->getRequest())) {
            return;
        }

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

        $exception = $event->getException();
        if ($exception instanceof BootException) {
            $event->setResponse($exception->getResponse());
        }
    }
public function onBootException ( GetResponseForExceptionEvent $ event ) { if ( $ this -> isProfilerRequest ( $ event -> getRequest ( ) ) ) { return ; } $ exception = $ event -> getException ( ) ; if ( $ exception instanceof BootException ) { $ event -> setResponse ( $ exception -> getResponse ( ) ) ; } }
Handle boot initialisation exceptions.

@param GetResponseForExceptionEvent $event
Handle boot initialisation exceptions .