public function handleError(NetworkConnectionInterface $conn, $ex) { if (!$this->isAddressBlocked($conn->getHost())) { $this->component->handleError($conn, $ex); } }