Skip to content

Commit

Permalink
chore: log full backtrace for query failures
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Aug 29, 2022
1 parent 89fe0df commit 231b3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResultList.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function getResults()
$this->resultSet = $this->index->search($this->query);
} catch (Exception $e) {
if ($this->logger) {
$this->logger->critical($e->getMessage());
$this->logger->warning($e);
}
}
}
Expand Down

0 comments on commit 231b3cf

Please sign in to comment.