mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
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>
(cherry picked from commit 95d2bd50da)
This commit is contained in:
parent
e312b2bdd2
commit
22a93bfc3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue