示例#1
0
 public function onError(ErrorEvent $event)
 {
     // Only track when no response is present, meaning this didn't ever
     // emit a complete event
     if (!$event->getResponse()) {
         $this->add($event->getRequest());
     }
 }