diff --git a/src/Elastica/Client.php b/src/Elastica/Client.php index 1b2d5dd45..692682bd1 100644 --- a/src/Elastica/Client.php +++ b/src/Elastica/Client.php @@ -76,7 +76,7 @@ public function sendRequest(RequestInterface $request): Elasticsearch $es = parent::sendRequest($request); $response = new Response($es->asString(), $es->getStatusCode()); } catch (ExceptionInterface $e) { - $this->logQuery($request->getUri(), $request->getMethod(), [], $query, 0, 0, 0); + $this->logQuery($request->getUri(), $request->getMethod(), $query, [], 0, 0, 0); throw $e; }