mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Fix missing import
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3f57725a7c
commit
bef4cf0ad1
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue