-Added call to sync if sync fails.

This commit is contained in:
Mark Beamer Jr 2018-05-09 21:41:14 -04:00
parent b7e0cb327a
commit 59af51ccec

View file

@ -147,6 +147,8 @@ export async function sync () {
} catch (err) {
winston.log(err);
status.err = err;
await sleep(600000);
sync();
}
}