Skip to content

Error logging on payload build failure and graceful cancellation token handling #209

@avalonche

Description

@avalonche

If the payload building fails the flashblock_cancel_token_tx gets dropped which causes a send error when trying to send a child cancellation token in flashblocks. There is an error log indicating the channel has closed which is not helpful is diagnosing payload build failures.

if let Some(Err(err)) = cancelled {
    error!(target: "payload_builder", "Timer task encountered error: {err}");
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions