You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shahzadlone
changed the title
Fix HTTP StatusBadRequest -> StatusInternalServerError for internal stuff in handler
Fix StatusBadRequest -> StatusInternalServerError for internal errors in http handler
Oct 4, 2024
…rk#3134)
## Relevant issue(s)
Resolvessourcenetwork#3103
## Description
- Fix the BadRequest in the acp handlers to now be panics
- Make the panics documented under `must` functions
- Add the linter to avoid increasing of undocumented panics
- Ignore linter in existing files outside cli and http (this should
either be resolved gradually over time or in a single PR, regardless
would prefer to not block this PR because of them)
Suggestion from @nasdf:
#3099 (comment)
Change:
To return error
500
so roughly this:The text was updated successfully, but these errors were encountered: