diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-21 01:05:02 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-21 01:08:48 +0200 |
commit | 3cbf95d38b6f8bd17b4312371ed07e6847ff0f5c (patch) | |
tree | a4cf921931dd84dcda7a73fc37a4ff7b1a1ffa18 /main.go | |
parent | 2a8e0cf3750d3f789bcd756e39af04f00fe0e738 (diff) | |
download | feed2imap-go-3cbf95d38b6f8bd17b4312371ed07e6847ff0f5c.tar.gz feed2imap-go-3cbf95d38b6f8bd17b4312371ed07e6847ff0f5c.tar.bz2 feed2imap-go-3cbf95d38b6f8bd17b4312371ed07e6847ff0f5c.zip |
New option 'item-filter'
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -85,7 +85,10 @@ func run() error { return fmt.Errorf("Configuration invalid: %w", err) } - state := feed.NewState(cfg) + state, err := feed.NewState(cfg) + if err != nil { + return err + } err = state.LoadCache(cacheFile, buildCache) if err != nil { |