Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipe through fetch errors in web-sys #1025

Merged
merged 1 commit into from
Mar 14, 2020

Conversation

jstarry
Copy link
Member

@jstarry jstarry commented Mar 14, 2020

Problem

No transparency in why a fetch failed

Changes

  • Convert JS error to string and include it in FetchError::FetchFailed enum

@jstarry jstarry merged commit 84d9053 into yewstack:master Mar 14, 2020
@jstarry jstarry deleted the fetch-failure-reason branch March 14, 2020 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant