Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispenny committed Nov 6, 2024
1 parent 9b20a19 commit 91693a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Adaptors/SpellingSuggestionAdaptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function process(Suggestion $suggestion, string $indexName): Suggestions
// If we got this far, then the request was a success
$suggestions->setSuccess(true);
} catch (ClientErrorResponseException $e) {
$errors = (string)$e->getResponse()->getBody();
$errors = (string) $e->getResponse()->getBody();
// Log the error without breaking the page
$this->getLogger()->error(sprintf('Bifrost error: %s', $errors), ['bifrost' => $e]);
// Our request was not a success
Expand Down

0 comments on commit 91693a8

Please sign in to comment.