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

views: improve HTTP 400 errors #110

Open
alejandromumo opened this issue Jul 10, 2023 · 0 comments
Open

views: improve HTTP 400 errors #110

alejandromumo opened this issue Jul 10, 2023 · 0 comments

Comments

@alejandromumo
Copy link
Member

alejandromumo commented Jul 10, 2023

minor: To be safe. In general, we should try to keep this kind of "safety checks". They might have resulted from past bugs and/or a general approach for this module of playing it safe/pessimistic since we're interacting with a remote system that might not always match our state (I see the old function didn't have this check, but let's add it in any case).

What we should do to improve the fuzzy points, is "enhance" the 400s we throw around with proper error messages, so that we can better understand why things fail when users contact us.

Originally posted by @slint in #109 (comment)

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

No branches or pull requests

1 participant