Do not return on torrentsUpdate errors
This commit is contained in:
parent
07823efd74
commit
a53deebbcf
@ -77,7 +77,7 @@ func (t *TorrentEventer) Launch() error {
|
||||
|
||||
err := t.torrentsUpdate()
|
||||
if err != nil {
|
||||
return err
|
||||
t.log.Warnf("got error getting torrents: %s", err)
|
||||
}
|
||||
|
||||
for {
|
||||
@ -85,7 +85,7 @@ func (t *TorrentEventer) Launch() error {
|
||||
case <-timeTicker.C:
|
||||
err := t.torrentsUpdate()
|
||||
if err != nil {
|
||||
return err
|
||||
t.log.Warnf("got error getting torrents: %s", err)
|
||||
}
|
||||
case <-t.done:
|
||||
t.log.Debug("quit torrent notifier")
|
||||
|
Loading…
x
Reference in New Issue
Block a user