Skip to content

Commit

Permalink
bad request = downstream error (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottlepp authored Oct 26, 2023
1 parent 92ef2e6 commit f0d4c50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/error_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ const (
// ErrorSourceFromStatus returns an ErrorSource based on provided HTTP status code.
func ErrorSourceFromHTTPStatus(statusCode int) ErrorSource {
switch statusCode {
case http.StatusBadRequest,
http.StatusMethodNotAllowed,
case http.StatusMethodNotAllowed,
http.StatusNotAcceptable,
http.StatusPreconditionFailed,
http.StatusRequestEntityTooLarge,
Expand Down

0 comments on commit f0d4c50

Please sign in to comment.