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()
|
err := t.torrentsUpdate()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
t.log.Warnf("got error getting torrents: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
for {
|
for {
|
||||||
@ -85,7 +85,7 @@ func (t *TorrentEventer) Launch() error {
|
|||||||
case <-timeTicker.C:
|
case <-timeTicker.C:
|
||||||
err := t.torrentsUpdate()
|
err := t.torrentsUpdate()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
t.log.Warnf("got error getting torrents: %s", err)
|
||||||
}
|
}
|
||||||
case <-t.done:
|
case <-t.done:
|
||||||
t.log.Debug("quit torrent notifier")
|
t.log.Debug("quit torrent notifier")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user