mirror of https://github.com/k3s-io/k3s
Merge pull request #32786 from aofry/issue-32747
Automatic merge from submit-queue prevent printing of stack trace when proxying 304 requests in api gateway partially addresses #32747.pull/6/head
commit
a2c186dbd0
|
@ -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