From 2ae5a99642c5dc3b2971849b302d1a1b8e533ec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Wed, 1 Mar 2023 12:58:41 +0100 Subject: [PATCH] =?UTF-8?q?correcci=C3=B3n:=20Disparar=20correctamente=20e?= =?UTF-8?q?l=20error=20MIN=5FHDCP=5FVERSION=5FNOT=5FMATCH=20(#5047)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/media/drm_engine.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/media/drm_engine.js b/lib/media/drm_engine.js index c7549b186b..9873b5e5b0 100644 --- a/lib/media/drm_engine.js +++ b/lib/media/drm_engine.js @@ -940,6 +940,9 @@ shaka.media.DrmEngine = class { } this.destroyer_.ensureNotDestroyed(); } catch (e) { + if (e instanceof shaka.util.Error) { + throw e; + } throw new shaka.util.Error( shaka.util.Error.Severity.CRITICAL, shaka.util.Error.Category.DRM,