Skip to content

unused code: task error handlers #597

@whoabuddy

Description

@whoabuddy

across the job management / task system each class has _should_retry_on_error and _handle_execution_error with some code but are unused within the tasks themselves

the execution errors can be a sink for anything that happens at the Python level since we expect a success: False from that object when something goes wrong

and now that we have strict parsing of ts tool results we can use should retry conditions to check things like BadNonce, ConflictingNonceInMempool, NotEnoughFunds, or other common broadcast errors from Stacks.js

Metadata

Metadata

Assignees

No one assigned

    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