parent
7e82d1295c
commit
4198987723
3 changed files with 11 additions and 3 deletions
|
@ -44,7 +44,8 @@
|
|||
view.showSync();
|
||||
}).catch(function(e) {
|
||||
if (e.message === 'websocket closed') {
|
||||
init();
|
||||
view.showConnectionError();
|
||||
setTimeout(init, 10000);
|
||||
} else if (e.name === 'HTTPError' && e.code == 411) {
|
||||
view.showTooManyDevices();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue