Skip to content

fix: fetch timeout has better error UX#378

Merged
SgtPooki merged 2 commits intomasterfrom
fix/fetch-error-msg
Jul 12, 2023
Merged

fix: fetch timeout has better error UX#378
SgtPooki merged 2 commits intomasterfrom
fix/fetch-error-msg

Conversation

@SgtPooki
Copy link
Member

@SgtPooki SgtPooki commented Jul 12, 2023

PR to address issue pointed out in explore.ipld.io PR comment: ipld/explore.ipld.io#119 (review)

image

@SgtPooki SgtPooki requested a review from a team as a code owner July 12, 2023 02:14
Copy link
Member Author

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self review

@SgtPooki
Copy link
Member Author

SgtPooki commented Jul 12, 2023

Note: if an error does not extend IpldExploreError, it's regular toString() result is output in the error message.

I commented out the BlockFetchTimeoutError just to test this:

image

@SgtPooki SgtPooki merged commit 008f83d into master Jul 12, 2023
@SgtPooki SgtPooki deleted the fix/fetch-error-msg branch July 12, 2023 16:42
@lidel
Copy link
Member

lidel commented Jul 13, 2023

Awesome! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants