diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-07-07 11:50:19 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-07-07 13:39:10 +0200 |
commit | 95d2bd50da721353f0bc84d93cf63d65852b0f23 (patch) | |
tree | 15fd653497ff329f3f121717d6d5286c4ff71b9a /lib | |
parent | 61b9b4f47413dc69cc029a808ec1ace8cceff1da (diff) | |
download | nextcloud-server-95d2bd50da721353f0bc84d93cf63d65852b0f23.tar.gz nextcloud-server-95d2bd50da721353f0bc84d93cf63d65852b0f23.zip |
Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/LanguageModel/LanguageModelManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/LanguageModel/LanguageModelManager.php b/lib/private/LanguageModel/LanguageModelManager.php index 4dff88b26a3..e331da87b90 100644 --- a/lib/private/LanguageModel/LanguageModelManager.php +++ b/lib/private/LanguageModel/LanguageModelManager.php @@ -58,7 +58,7 @@ class LanguageModelManager implements ILanguageModelManager { $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, ]); |