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)
96
96
$ rawResponse = $ client ->query ($ query );
97
97
} catch (\Exception $ e ) {
98
98
$ 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 ());
100
100
}
101
101
102
102
$ 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
98
98
$ rawResponse = $ client ->query ($ query );
99
99
} catch (\Exception $ e ) {
100
100
$ 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 );
102
102
}
103
103
104
104
$ rawDocuments = $ rawResponse ['hits ' ]['hits ' ] ?? [];
You can’t perform that action at this time.
0 commit comments