mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
prevent printing of stack trace when proxying 304 requests in api gateway
This commit is contained in:
parent
843d7cd24c
commit
b97b685b96
@ -152,6 +152,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
|
||||
http.StatusNotFound,
|
||||
http.StatusUnauthorized,
|
||||
http.StatusForbidden,
|
||||
http.StatusNotModified,
|
||||
errors.StatusUnprocessableEntity,
|
||||
http.StatusSwitchingProtocols,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user