mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
pkg/storage/external: remove debug lines (#1606)
This commit is contained in:
Vendored
-2
@@ -72,13 +72,11 @@ func NewServer(strg storage.Backend) http.Handler {
|
||||
r.HandleFunc("/{module:.+}/@v/{version}.save", func(w http.ResponseWriter, r *http.Request) {
|
||||
params, err := paths.GetAllParams(r)
|
||||
if err != nil {
|
||||
fmt.Println("REALLY?", err)
|
||||
http.Error(w, err.Error(), 400)
|
||||
return
|
||||
}
|
||||
err = r.ParseMultipartForm(zip.MaxZipFile + zip.MaxGoMod)
|
||||
if err != nil {
|
||||
fmt.Printf("parse: %v\n", err)
|
||||
http.Error(w, err.Error(), 400)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user