diff --git a/frontend.go b/frontend.go index cedbfa0..668dd5c 100644 --- a/frontend.go +++ b/frontend.go @@ -76,6 +76,7 @@ func (ctx WebServerConfigs) handleListDir(w http.ResponseWriter, path string) { fileList, err := handlePypiListDir(ctx.fetcher, path) if err != nil { desc := fmt.Sprintf("\"LISTDIR %v\" 400 - err: %v", path, err) + log.Println(desc) http.Error(w, desc, http.StatusBadRequest) return }