From a4723d19d18710104eebf4c4a73fa152f4e93f28 Mon Sep 17 00:00:00 2001 From: Henri Bergius Date: Tue, 28 Nov 2017 22:46:40 +0100 Subject: [PATCH] Throw errors --- infodisplay/infodisplay.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infodisplay/infodisplay.js b/infodisplay/infodisplay.js index 549332f..e97fa94 100644 --- a/infodisplay/infodisplay.js +++ b/infodisplay/infodisplay.js @@ -95,8 +95,7 @@ window.addEventListener('load', () => { const p = DisplayParticipant(params.broker, params.role, params.urls, params.timer); p.start((err) => { if (err) { - console.error(err); - return; + throw err; } p.send('open', getRotationUrl(params.urls)); });