Skip to content

Commit 35eb244

Browse files
authored
TASK: Use logException in fetch()
1 parent de35b5c commit 35eb244

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Eel/ElasticSearchQueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ public function fetch()
566566
$this->result['nodes'] = $this->convertHitsToNodes($this->result['hits']);
567567
}
568568
} catch (ApiException $exception) {
569-
$this->logger->log('Error while fetching results: ' . $exception->getMessage(), LOG_ERR);
569+
$this->logger->logException($exception);
570570
$this->result['nodes'] = [];
571571
}
572572

0 commit comments

Comments
 (0)