From f70a3c82f0235b5518665e1ed165ca9de6be2026 Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Sun, 12 Mar 2017 14:42:02 +0100 Subject: [PATCH] add some logging --- app/app.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/app.go b/app/app.go index da7bcc4..93871f2 100644 --- a/app/app.go +++ b/app/app.go @@ -49,6 +49,7 @@ func (a *App) Start(n int) error { } if len(sets) == 0 { + fmt.Println("Starting discoverNew") err := a.discoverNew() if err != nil { return err @@ -61,6 +62,7 @@ func (a *App) Start(n int) error { // check beatmaps are good and if they are, add them to the download // queue. for _, s := range sets { + fmt.Println("Checking whether", s.SetID, "is good...") b, err := a.CheckGood(&s) if err != nil { a.handle(err) @@ -68,6 +70,7 @@ func (a *App) Start(n int) error { } if b { + fmt.Println("Queueing", s.SetID) a.download <- s } } -- GitLab