diff --git a/core/watcher.go b/core/watcher.go index 1feeb22..d1b07fd 100644 --- a/core/watcher.go +++ b/core/watcher.go @@ -70,6 +70,9 @@ func (w *Watcher) update() error { func (w *Watcher) doWatch(f func(TestResult)) error { records := strings.Split(w.rawUrls, "\n") for _, addr := range records { + if addr == "" { + continue + } u, err := url.Parse(addr) if err != nil { log.Default().Printf("Invalid url: %v, skipping...", addr)