Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr and come-nc committed Jul 7, 2023
1 parent 61b9b4f commit 95d2bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/LanguageModel/LanguageModelManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getProviders(): array {
$class = $providerServiceRegistration->getService();
try {
$this->providers[$class] = $this->serverContainer->get($class);
} catch (NotFoundExceptionInterface|ContainerExceptionInterface|Throwable $e) {
} catch (Throwable $e) {
$this->logger->error('Failed to load LanguageModel provider ' . $class, [
'exception' => $e,
]);
Expand Down

0 comments on commit 95d2bd5

Please sign in to comment.