1
This commit is contained in:
parent
2381aaaa1c
commit
92a673dd16
@ -78,7 +78,7 @@ class PullDbEvent extends BaseService {
|
||||
this.getContractAddress()
|
||||
]);
|
||||
if (err) {
|
||||
throw err;
|
||||
throw new Error(err);
|
||||
}
|
||||
if (rows.length > 0) {
|
||||
await utils.serial(
|
||||
@ -94,6 +94,7 @@ class PullDbEvent extends BaseService {
|
||||
this.progInfo['lastIdx'] = this.lastIdx.toString();
|
||||
await this.saveLastIdx(this.lastIdx);
|
||||
} catch (err) {
|
||||
utils.safeDumpErrStack(err);
|
||||
log.error(logHead + err);
|
||||
await utils.sleep(5000 + utils.randRange(1000, 3000));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user