File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Elasticsearch8/SearchAdapter
Elasticsearch/ElasticAdapter/SearchAdapter Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ public function query(RequestInterface $request)
9696 $ rawResponse = $ client ->query ($ query );
9797 } catch (\Exception $ e ) {
9898 $ this ->logger ->critical ($ e );
99- throw new ClientException (__ ( "Could not perform search query. " ) , $ e , $ e ->getCode ());
99+ throw new ClientException ("Could not perform search query. " , $ e , $ e ->getCode ());
100100 }
101101
102102 $ rawDocuments = isset ($ rawResponse ['hits ' ]['hits ' ]) ? $ rawResponse ['hits ' ]['hits ' ] : [];
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public function query(RequestInterface $request): QueryResponse
9898 $ rawResponse = $ client ->query ($ query );
9999 } catch (\Exception $ e ) {
100100 $ this ->logger ->critical ($ e );
101- throw new ClientException (__ ( "Could not perform search query. " ) , $ e ->getCode (), $ e );
101+ throw new ClientException ("Could not perform search query. " , $ e ->getCode (), $ e );
102102 }
103103
104104 $ rawDocuments = $ rawResponse ['hits ' ]['hits ' ] ?? [];
You can’t perform that action at this time.
0 commit comments