reload page is WS connection failure
This commit is contained in:
parent
fe56bd903d
commit
e20e8d907f
@ -9,7 +9,7 @@ function start() {
|
|||||||
console.log('Started websocket listener');
|
console.log('Started websocket listener');
|
||||||
}).catch(function (err) {
|
}).catch(function (err) {
|
||||||
console.error(err.toString());
|
console.error(err.toString());
|
||||||
return alert('Connection error. Reload page.');
|
location.reload();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user