diff options
author | Anupam Kumar <kyteinsky@gmail.com> | 2024-07-18 17:53:52 +0530 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-07-19 12:02:25 +0000 |
commit | aa66e16699160e01bff1dd5963164868a60cca7a (patch) | |
tree | 7864ef5c113e363489d7218c2565cd11ed77c99a /lib | |
parent | 9971121509351d54af29ba704ad5e8c55eeeb4d8 (diff) | |
download | nextcloud-server-aa66e16699160e01bff1dd5963164868a60cca7a.tar.gz nextcloud-server-aa66e16699160e01bff1dd5963164868a60cca7a.zip |
fix(TextProcessing): use error instead of info for exception logging
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/TextProcessing/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TextProcessing/Manager.php b/lib/private/TextProcessing/Manager.php index 6ffd0587927..7513d373ea2 100644 --- a/lib/private/TextProcessing/Manager.php +++ b/lib/private/TextProcessing/Manager.php @@ -138,7 +138,7 @@ class Manager implements IManager { $this->taskMapper->update(DbTask::fromPublicTask($task)); return $output; } catch (\Throwable $e) { - $this->logger->info('LanguageModel call using provider ' . $provider->getName() . ' failed', ['exception' => $e]); + $this->logger->error('LanguageModel call using provider ' . $provider->getName() . ' failed', ['exception' => $e]); $task->setStatus(OCPTask::STATUS_FAILED); $this->taskMapper->update(DbTask::fromPublicTask($task)); throw new TaskFailureException('LanguageModel call using provider ' . $provider->getName() . ' failed: ' . $e->getMessage(), 0, $e); |