From 72d621bb89e64b2b8d9fd4d704ef598eaef89733 Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Wed, 12 Dec 2018 10:59:33 +0200 Subject: [PATCH] Invalid dispatch call error message improved --- src/routes/Player/Video/stremio-video/HTMLVideo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Player/Video/stremio-video/HTMLVideo.js b/src/routes/Player/Video/stremio-video/HTMLVideo.js index 8fdeb35f3..29ec278c0 100644 --- a/src/routes/Player/Video/stremio-video/HTMLVideo.js +++ b/src/routes/Player/Video/stremio-video/HTMLVideo.js @@ -268,7 +268,7 @@ var HTMLVideo = function(container) { } break; default: - throw new Error('Invalid dispatch call: ' + arguments[0]); + throw new Error('Invalid dispatch call: ' + Array.from(arguments).map(String)); } if (!loaded) {