Skip to content

asyncio.gather swallows programming errors #178

@wmagev

Description

@wmagev

allways/validator/forward.py:331-334 uses return_exceptions=True, so any exception from a verifier coroutine becomes a "result."

A typo in the verifier (e.g. AttributeError) gets logged as a verification error; the forward loop keeps running with silently-missing votes, masking real bugs as flaky network.

Direction: catch only provider/timeout exceptions; re-raise everything else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions