More logging

// FREEBIE
This commit is contained in:
lilia 2015-09-23 15:52:05 -07:00
parent f6b35ffbfc
commit f00d118c93

View file

@ -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');