diff --git a/proxy/server.go b/proxy/server.go index 403ad7e..72198ad 100644 --- a/proxy/server.go +++ b/proxy/server.go @@ -184,7 +184,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { } if openErr != nil { code := http.StatusNotFound - http.Error(w, "not found", code) + http.Error(w, openErr.Error(), code) return } defer f.Close()