diff --git a/internal/proxy/server.go b/internal/proxy/server.go index 93fb5cc..0668974 100644 --- a/internal/proxy/server.go +++ b/internal/proxy/server.go @@ -191,7 +191,7 @@ func (s *Server) errorHandler(w http.ResponseWriter, r *http.Request, err error) logger.Error(r.Context(), "proxy error", logger.E(err)) sentry.CaptureException(err) - http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError) + http.Error(w, http.StatusText(http.StatusBadGateway), http.StatusBadGateway) } func NewServer(funcs ...OptionFunc) *Server {