mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
400 HTTP should not result in a stack trace printed
This commit is contained in:
parent
554ce403e4
commit
9136d49dc9
@ -114,6 +114,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
|
||||
http.StatusOK,
|
||||
http.StatusCreated,
|
||||
http.StatusAccepted,
|
||||
http.StatusBadRequest,
|
||||
http.StatusMovedPermanently,
|
||||
http.StatusTemporaryRedirect,
|
||||
http.StatusConflict,
|
||||
|
Loading…
Reference in New Issue
Block a user