diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-25 21:40:08 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-25 21:40:08 +0200 |
commit | 5834d93e1d1fbddde7d5be2ebaabca254ab8bba4 (patch) | |
tree | 475b516bc1a7dce1f1be36b64e304fab086d2ac9 /internal/feed/parse.go | |
parent | 367e81e707c1736e8c1b57b8b375cbd3dd4cc92a (diff) | |
download | feed2imap-go-5834d93e1d1fbddde7d5be2ebaabca254ab8bba4.tar.gz feed2imap-go-5834d93e1d1fbddde7d5be2ebaabca254ab8bba4.tar.bz2 feed2imap-go-5834d93e1d1fbddde7d5be2ebaabca254ab8bba4.zip |
Make errors from exec calls always being printed as errors
Diffstat (limited to 'internal/feed/parse.go')
-rw-r--r-- | internal/feed/parse.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/parse.go b/internal/feed/parse.go index 77dfe69..b08c286 100644 --- a/internal/feed/parse.go +++ b/internal/feed/parse.go @@ -70,7 +70,7 @@ func handleFeed(feed *Feed) { err := feed.parse() if err != nil { - if feed.cached.Failures() >= feed.Global.MaxFailures { + if feed.Url == "" || feed.cached.Failures() >= feed.Global.MaxFailures { log.Error(err) } else { log.Print(err) |