Fix missing import

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2023-04-18 10:01:00 +02:00
parent 3f57725a7c
commit bef4cf0ad1
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

View file

@ -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,
]);
}
}