diff --git a/components/image-builder-bob/pkg/proxy/proxy.go b/components/image-builder-bob/pkg/proxy/proxy.go index a80b5cc8be425e..2c431dab262bc3 100644 --- a/components/image-builder-bob/pkg/proxy/proxy.go +++ b/components/image-builder-bob/pkg/proxy/proxy.go @@ -202,6 +202,10 @@ func (proxy *Proxy) reverse(alias string) *httputil.ReverseProxy { return true, nil } + if resp.StatusCode == http.StatusBadRequest { + log.WithField("URL", resp.Request.URL.String()).Warn("bad request") + return true, nil + } return false, nil }