diff --git a/pkg/proxy/server.go b/pkg/proxy/server.go index 9a973bb..beb571e 100644 --- a/pkg/proxy/server.go +++ b/pkg/proxy/server.go @@ -131,9 +131,8 @@ func consume(body io.ReadCloser) (io.ReadSeeker, error) { // Serve starts server. func (s *Server) Serve() { log.Infof("Starting proxy http server on %s", s.Addr) - err := s.ListenAndServe() - if err != nil { - log.Errorf("unable to start the server: %v", err) + if err := s.ListenAndServe(); err != nil && err != http.ErrServerClosed { + log.Errorf("proxy http server failed to listen: %v", err) } }