summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/RecordingService.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Service/RecordingService.php b/lib/Service/RecordingService.php
index 0a7f7af2a..7a26c4ebb 100644
--- a/lib/Service/RecordingService.php
+++ b/lib/Service/RecordingService.php
@@ -43,6 +43,7 @@ use OCP\Files\NotPermittedException;
use OCP\Notification\IManager;
use OCP\Share\IManager as ShareManager;
use OCP\Share\IShare;
+use Psr\Log\LoggerInterface;
class RecordingService {
public const DEFAULT_ALLOWED_RECORDING_FORMATS = [
@@ -61,7 +62,8 @@ class RecordingService {
protected Config $config,
protected RoomService $roomService,
protected ShareManager $shareManager,
- protected ChatManager $chatManager
+ protected ChatManager $chatManager,
+ protected LoggerInterface $logger,
) {
}
@@ -236,6 +238,7 @@ class RecordingService {
true
);
} catch (\Exception $e) {
+ $this->logger->error($e->getMessage(), ['exception' => $e]);
throw new InvalidArgumentException('system');
}
$this->notificationDismiss($room, $participant, $timestamp);