Skip to content

Commit c40244f

Browse files
authored
Merge pull request #46636 from nextcloud/backport/46608/stable29
[stable29] fix(TextProcessing): use error instead of info for exception logging
2 parents 080106a + 9b0ed06 commit c40244f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/TextProcessing/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function runTask(OCPTask $task): string {
139139
$this->taskMapper->update(DbTask::fromPublicTask($task));
140140
return $output;
141141
} catch (\Throwable $e) {
142-
$this->logger->info('LanguageModel call using provider ' . $provider->getName() . ' failed', ['exception' => $e]);
142+
$this->logger->error('LanguageModel call using provider ' . $provider->getName() . ' failed', ['exception' => $e]);
143143
$task->setStatus(OCPTask::STATUS_FAILED);
144144
$this->taskMapper->update(DbTask::fromPublicTask($task));
145145
throw new TaskFailureException('LanguageModel call using provider ' . $provider->getName() . ' failed: ' . $e->getMessage(), 0, $e);

0 commit comments

Comments
 (0)