summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/SpeechToText/SpeechToTextManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/SpeechToText/SpeechToTextManager.php b/lib/private/SpeechToText/SpeechToTextManager.php
index 146d7f8f8b1..f147b245ea8 100644
--- a/lib/private/SpeechToText/SpeechToTextManager.php
+++ b/lib/private/SpeechToText/SpeechToTextManager.php
@@ -41,6 +41,7 @@ use OCP\SpeechToText\ISpeechToTextProvider;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
use Psr\Log\LoggerInterface;
+use RuntimeException;
use Throwable;
class SpeechToTextManager implements ISpeechToTextManager {
@@ -73,7 +74,7 @@ class SpeechToTextManager implements ISpeechToTextManager {
$this->providers[$class] = $this->serverContainer->get($class);
} catch (NotFoundExceptionInterface|ContainerExceptionInterface|Throwable $e) {
$this->logger->error('Failed to load SpeechToText provider ' . $class, [
- 'exception' => $e
+ 'exception' => $e,
]);
}
}