From 9136d49dc9090142b7ad2838af91703666713d76 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Wed, 7 Oct 2015 16:04:59 -0400 Subject: [PATCH] 400 HTTP should not result in a stack trace printed --- pkg/apiserver/handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/apiserver/handlers.go b/pkg/apiserver/handlers.go index a23b095eeef..307ee582acb 100644 --- a/pkg/apiserver/handlers.go +++ b/pkg/apiserver/handlers.go @@ -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,