From e7e7eca508df2b3fe01b59c3a36d1e0b53526f45 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 8 Aug 2024 14:06:14 +0200 Subject: [PATCH] Send fatal player errors to server --- client/src/assets/player/shared/peertube/peertube-plugin.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts index 30ee03970..6fc39a0e3 100644 --- a/client/src/assets/player/shared/peertube/peertube-plugin.ts +++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts @@ -201,6 +201,8 @@ class PeerTubePlugin extends Plugin { this.errorModal.addClass('vjs-custom-error-display') this.player.addClass('vjs-error-display-enabled') + + logger.error('Fatal error in player', this.player.error()) } hideFatalError () {