From ea4e6f223f26b7f9b2aa818ab3e43cdd356a3f45 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 18 Oct 2016 23:46:54 -0700 Subject: debugging deleteHandler --- system/admin/handlers.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/admin/handlers.go') diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 7e5f96b..ee0ff60 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -639,6 +639,7 @@ func deleteHandler(res http.ResponseWriter, req *http.Request) { err := req.ParseMultipartForm(1024 * 1024 * 4) // maxMemory 4MB if err != nil { + fmt.Println("req.ParseMPF") res.WriteHeader(http.StatusInternalServerError) return } @@ -653,6 +654,7 @@ func deleteHandler(res http.ResponseWriter, req *http.Request) { err = db.DeleteContent(t + ":" + id) if err != nil { + fmt.Println("db.DeleteContent") res.WriteHeader(http.StatusInternalServerError) return } -- cgit v1.2.3