summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-04-18 10:01:00 +0200
committerJoas Schilling <coding@schilljs.com>2023-04-18 10:01:00 +0200
commitbef4cf0ad18c1ce4f31e6763835c6fe3d81dbf8a (patch)
treef824643a796ebdb41cbf2735e832f35220696dd3 /lib
parent3f57725a7c68bd90b281a3f97639270cad25b072 (diff)
downloadnextcloud-server-bef4cf0ad18c1ce4f31e6763835c6fe3d81dbf8a.tar.gz
nextcloud-server-bef4cf0ad18c1ce4f31e6763835c6fe3d81dbf8a.zip
Fix missing import
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-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,
]);
}
}