diff --git a/recoverer.go b/recoverer.go index db07341..7aae69c 100644 --- a/recoverer.go +++ b/recoverer.go @@ -57,6 +57,7 @@ func (r *recoverer) start(wg *sync.WaitGroup) { wg.Add(1) go func() { defer wg.Done() + r.recover() timer := time.NewTimer(r.interval) for { select {