prevent printing of stack trace when proxying 304 requests in api gateway

This commit is contained in:
Adi Ofry 2016-09-15 14:51:54 +03:00
parent 843d7cd24c
commit b97b685b96

View File

@ -152,6 +152,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
http.StatusNotFound,
http.StatusUnauthorized,
http.StatusForbidden,
http.StatusNotModified,
errors.StatusUnprocessableEntity,
http.StatusSwitchingProtocols,
),