400 HTTP should not result in a stack trace printed

This commit is contained in:
Clayton Coleman 2015-10-07 16:04:59 -04:00
parent 554ce403e4
commit 9136d49dc9

View File

@ -114,6 +114,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
http.StatusOK, http.StatusOK,
http.StatusCreated, http.StatusCreated,
http.StatusAccepted, http.StatusAccepted,
http.StatusBadRequest,
http.StatusMovedPermanently, http.StatusMovedPermanently,
http.StatusTemporaryRedirect, http.StatusTemporaryRedirect,
http.StatusConflict, http.StatusConflict,