diff options
Diffstat (limited to 'internal/parse/parse.go')
-rw-r--r-- | internal/parse/parse.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/parse/parse.go b/internal/parse/parse.go index a4112d9..ddf1f0f 100644 --- a/internal/parse/parse.go +++ b/internal/parse/parse.go @@ -3,14 +3,13 @@ package parse import ( ctxt "context" "fmt" - "log" "sync" "time" "github.com/mmcdole/gofeed" "github.com/Necoro/feed2imap-go/internal/config" - "github.com/Necoro/feed2imap-go/internal/util" + "github.com/Necoro/feed2imap-go/internal/log" ) func context() (ctxt.Context, ctxt.CancelFunc) { @@ -33,7 +32,7 @@ func handleFeed(feed *config.Feed, wg *sync.WaitGroup) { log.Printf("Fetching %s from %s", feed.Name, feed.Url) if err := parseFeed(feed); err != nil { - util.Error(err) + log.Error(err) } } |