Skip to content

Bubble up errors better #816

@2color

Description

@2color

Background

There are situations where we return a 504 error to the user without bubbling up more information about why.

For example, below shows a case where the block failed to pass hash verification due to a bug in Helia (even though the block was successfully downloaded), but the user isn't informed about what went wrong.

Image

While this case is due to a bug in Helia, it's a great example of the kind of error we'd want to surface to the user: when hash verification fails!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High: Likely tackled by core team if no one steps upbugSomething isn't workingeffort/daysEstimated to take multiple days, but less than a weekexp/intermediatePrior experience is likely helpfulkind/bugA bug in existing code (including security flaws)kind/enhancementA net-new feature or improvement to an existing featureneed/analysisNeeds further analysis before proceedingneed/maintainers-inputNeeds input from the current maintainer(s)topic/design-uxUX strategy, research, not solely visual design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions