Compare commits

..

No commits in common. "8a751afc9741625cf97f5a31efb11343f00b64e2" and "1881f279283c9cbabbd0a1cc0bd0d2b4c8fe202f" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -1 +0,0 @@
GODEBUG="http1debug=2 http2debug=2"

View File

@ -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.StatusBadGateway), http.StatusBadGateway)
http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
}
func NewServer(funcs ...OptionFunc) *Server {