mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 14:14:39 +00:00
400 HTTP should not result in a stack trace printed
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user