From da429f6fbdfc3266fbc33cd93b670dae9d388952 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 1 Apr 2026 10:50:11 +0200 Subject: [PATCH] fix: Correct error message for text to speech generation Signed-off-by: Marcel Klehr --- lib/TaskProcessing/TextToSpeechProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/TaskProcessing/TextToSpeechProvider.php b/lib/TaskProcessing/TextToSpeechProvider.php index d1953c1f..16dd7416 100644 --- a/lib/TaskProcessing/TextToSpeechProvider.php +++ b/lib/TaskProcessing/TextToSpeechProvider.php @@ -163,8 +163,8 @@ public function process(?string $userId, array $input, callable $reportProgress, return ['speech' => $audio]; } catch (\Exception $e) { - $this->logger->warning('OpenAI/LocalAI\'s text to image generation failed with: ' . $e->getMessage(), ['exception' => $e]); - throw new RuntimeException('OpenAI/LocalAI\'s text to image generation failed with: ' . $e->getMessage()); + $this->logger->warning('OpenAI/LocalAI\'s text to speech generation failed with: ' . $e->getMessage(), ['exception' => $e]); + throw new RuntimeException('OpenAI/LocalAI\'s text to speech generation failed with: ' . $e->getMessage()); } } }