Throw errors
This commit is contained in:
parent
6076dd97af
commit
a4723d19d1
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue