mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -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>
This commit is contained in:
parent
61b9b4f474
commit
95d2bd50da
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