More logging
// FREEBIE
This commit is contained in:
parent
f6b35ffbfc
commit
f00d118c93
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@
|
|||
if (e.name === 'HTTPError' && e.code == -1) {
|
||||
// Failed to connect to server
|
||||
if (navigator.onLine) {
|
||||
console.log('retrying in 1 minute');
|
||||
setTimeout(init, 60000);
|
||||
} else {
|
||||
console.log('offline');
|
||||
|
|
Loading…
Reference in a new issue