We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ffd2e9 commit d492d45Copy full SHA for d492d45
app/code/Magento/Elasticsearch/ElasticAdapter/SearchAdapter/Adapter.php
@@ -96,7 +96,7 @@ public function query(RequestInterface $request)
96
$rawResponse = $client->query($query);
97
} catch (\Exception $e) {
98
$this->logger->critical($e);
99
- throw new ClientException("Could not perform search query.", $e, $e->getCode());
+ throw new ClientException("Could not perform search query.", $e->getCode(), $e);
100
}
101
102
$rawDocuments = isset($rawResponse['hits']['hits']) ? $rawResponse['hits']['hits'] : [];
0 commit comments