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);
|
const p = DisplayParticipant(params.broker, params.role, params.urls, params.timer);
|
||||||
p.start((err) => {
|
p.start((err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.error(err);
|
throw err;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
p.send('open', getRotationUrl(params.urls));
|
p.send('open', getRotationUrl(params.urls));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue