private function executeOnException(Exception $exception) { try { $this->handler->onException($this->tracker, $this->requestSet, $exception); } catch (Exception $e) { } }
public function onException(Tracker $tracker, RequestSet $requestSet, Exception $e) { $this->rollbackTransaction(); parent::onException($tracker, $requestSet, $e); }
public function track(Handler $handler, RequestSet $requestSet) { if (!$this->shouldRecordStatistics()) { return; } $requestSet->initRequestsAndTokenAuth(); if ($requestSet->hasRequests()) { $handler->onStartTrackRequests($this, $requestSet); $handler->process($this, $requestSet); $handler->onAllRequestsTracked($this, $requestSet); } }