EventListener/RollbarListener.php
public function onKernelException(GetResponseForExceptionEvent $event)
    {
        // Skip HTTP exception
        if ($event->getException() instanceof HttpException) {
            return;
        }

        $this->setException($event->getException());
    }
public function onKernelException(GetResponseForExceptionEvent $event)
    {
        // Skip HTTP exception
        if ($event->getException() instanceof HttpException) {
            return;
        }

        $this->setException($event->getException());
    }
public function onKernelException ( GetResponseForExceptionEvent $ event ) { // Skip HTTP exception if ( $ event -> getException ( ) instanceof HttpException ) { return ; } $ this -> setException ( $ event -> getException ( ) ) ; }
Save exception.

@param GetResponseForExceptionEvent $event
Save exception .