function ProfilerSubscriber::onKernelException
Handles the onKernelException event.
File
-
webprofiler/
src/ EventSubscriber/ ProfilerSubscriber.php, line 54
Class
Namespace
Drupal\webprofiler\EventSubscriberCode
public function onKernelException(GetResponseForExceptionEvent $event) {
if ($this->onlyMasterRequests && !$event->isMasterRequest()) {
return;
}
$this->exception = $event->getException();
}