aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-01 22:05:27 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-01 22:05:27 +0200
commitb44a7b8307f2928039f0da8205518818fb4247b1 (patch)
treebd0bbabf57f10b99e88b26087b34bd67f1aacbff
parent04a4897b69f9a10bdea27fb1133bcab71c40b687 (diff)
downloadfeed2imap-go-b44a7b8307f2928039f0da8205518818fb4247b1.tar.gz
feed2imap-go-b44a7b8307f2928039f0da8205518818fb4247b1.tar.bz2
feed2imap-go-b44a7b8307f2928039f0da8205518818fb4247b1.zip
Logging fixes
Diffstat (limited to '')
-rw-r--r--internal/feed/cache_v1.go2
-rw-r--r--main.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/internal/feed/cache_v1.go b/internal/feed/cache_v1.go
index 5f8c8f4..bbb8f13 100644
--- a/internal/feed/cache_v1.go
+++ b/internal/feed/cache_v1.go
@@ -118,7 +118,7 @@ func (cache *v1Cache) findItem(feed *Feed) CachedFeed {
changed = true
break
} else if otherId.Url == fDescr.Url {
- log.Warnf("Feed with URL '%s' seems to have changed its name: new '%s', old '%s'. Updating",
+ log.Warnf("Feed with URL '%s' seems to have changed its name: new '%s', old '%s'. Updating.",
fDescr.Url, fDescr.Name, otherId.Name)
changed = true
break
diff --git a/main.go b/main.go
index 24cb0a4..7335e6f 100644
--- a/main.go
+++ b/main.go
@@ -76,6 +76,7 @@ func run() error {
state.RemoveUndue()
if state.NumFeeds() == 0 {
+ log.Print("Nothing to do, exiting.")
// nothing to do
return nil
}