-Added call to sync if sync fails. #70
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,8 @@ export async function sync () {
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
winston.log(err);
|
winston.log(err);
|
||||||
status.err = err;
|
status.err = err;
|
||||||
|
await sleep(600000);
|
||||||
|
sync();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue