aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-07-07 11:50:19 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-07-07 13:39:10 +0200
commit95d2bd50da721353f0bc84d93cf63d65852b0f23 (patch)
tree15fd653497ff329f3f121717d6d5286c4ff71b9a /lib
parent61b9b4f47413dc69cc029a808ec1ace8cceff1da (diff)
downloadnextcloud-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.php2
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,
]);