mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-06 19:38:05 +00:00
Fix job-runner for missing parent block (#143)
This commit is contained in:
parent
129b9e71f0
commit
9a35955166
@ -190,7 +190,7 @@ export class JobRunner {
|
||||
const message = `Parent block number ${parentBlockNumber} hash ${parentHash} of block number ${blockNumber} hash ${blockHash} not fetched yet, aborting`;
|
||||
log(message);
|
||||
|
||||
return;
|
||||
throw new Error(message);
|
||||
}
|
||||
|
||||
if (!parentBlock.isComplete) {
|
||||
|
Loading…
Reference in New Issue
Block a user