Skip to content

Show generic flash message if crate data fails to load #3442

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

Merged
merged 3 commits into from
Mar 21, 2021

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Mar 21, 2021

Rethrowing the error means that it ends up creating noise on Sentry even for regular network errors.

Resolves #240

Turbo87 added 2 commits March 21, 2021 12:00
Rethrowing the error means that it ends up creating noise on Sentry even for regular network errors.
@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-frontend 🐹 labels Mar 21, 2021
Letting the error bubble up means that it ends up creating noise on Sentry even for regular network errors.
@pichfl
Copy link

pichfl commented Mar 21, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Mar 21, 2021

📌 Commit d71eec6 has been approved by pichfl

@bors
Copy link
Contributor

bors commented Mar 21, 2021

⌛ Testing commit d71eec6 with merge 88e7a01...

@bors
Copy link
Contributor

bors commented Mar 21, 2021

☀️ Test successful - checks-actions
Approved by: pichfl
Pushing 88e7a01 to master...

@bors bors merged commit 88e7a01 into rust-lang:master Mar 21, 2021
@Turbo87 Turbo87 deleted the crate-error branch March 21, 2021 16:51
@durka
Copy link
Contributor

durka commented Apr 22, 2021

This undid the fix for #141 implemented in #421 and it's a very poor UX to redirect to the home page instead of showing a 404. The 404 (or 500 in the case of network error I guess) is semantically correct and more importantly, leaves the URL alone for the user to correct a typo. Can we revert or reconsider the change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error on network failure is incomprehensible
6 participants