Skip to content

Commit

Permalink
chore: Demote error closing forks to warn (#11263)
Browse files Browse the repository at this point in the history
This can happen if the sequencer is stopped right after block
processing, as @alexghr pointed out. Demoting to warn.
  • Loading branch information
spalladino authored Jan 16, 2025
1 parent 507ae9d commit a5b7a6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yarn-project/sequencer-client/src/sequencer/sequencer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,8 @@ export class Sequencer {
await publicProcessorFork.close();
await orchestratorFork.close();
} catch (err) {
this.log.error(`Error closing forks`, err);
// This can happen if the sequencer is stopped before we hit this timeout.
this.log.warn(`Error closing forks for block processing`, err);
}
}, 5000);
}
Expand Down

0 comments on commit a5b7a6a

Please sign in to comment.