From 431ef985bc8940588077453858008f3f9bc7a5f4 Mon Sep 17 00:00:00 2001 From: Justin Hawkins Date: Wed, 15 Mar 2023 05:15:25 +1030 Subject: [PATCH] Cleanup spruious logs --- main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.go b/main.go index a55a245..19a8207 100644 --- a/main.go +++ b/main.go @@ -410,18 +410,14 @@ func fetchHandler(w http.ResponseWriter, r *http.Request) { } // create the new download - log.Print("creating") newDL := download.NewDownload(url[0], configService.Config) - log.Print("adding") dm.AddDownload(newDL) - log.Print("done") t, err := template.ParseFS(webFS, "web/layout.tmpl", "web/popup.html") if err != nil { panic(err) } - log.Print("lock dl") newDL.Lock.Lock() defer newDL.Lock.Unlock() @@ -431,6 +427,5 @@ func fetchHandler(w http.ResponseWriter, r *http.Request) { if err != nil { panic(err) } - log.Print("unlock dl because rendered") } }