diff options
author | Anupam Kumar <kyteinsky@gmail.com> | 2024-07-18 17:53:52 +0530 |
---|---|---|
committer | Anupam Kumar <kyteinsky@gmail.com> | 2024-07-18 17:53:52 +0530 |
commit | d473b516add361233c1bbf787abfa6bb752ba98b (patch) | |
tree | 5e66744383db1f1e14ea9fbd105d3efb9381f7e2 | |
parent | 31d051ae74a0db277d805f5072e949d52fe15647 (diff) | |
download | nextcloud-server-d473b516add361233c1bbf787abfa6bb752ba98b.tar.gz nextcloud-server-d473b516add361233c1bbf787abfa6bb752ba98b.zip |
fix(TextProcessing): use error instead of info for exception logging
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
-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 44387662937..a03c028a5c9 100644 --- a/lib/private/TextProcessing/Manager.php +++ b/lib/private/TextProcessing/Manager.php @@ -123,7 +123,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); |