Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikus1993 committed Nov 5, 2023
1 parent 7ae651c commit 699ad3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/parser/devto/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (p *devtoParser) parseAll(ctx context.Context) chan []model.Article {
defer wg.Done()
res, err := parseTag(ctx, p.client, s)
if err != nil {
log.WithContext(ctx).WithError(err).Errorf("Error while parsing tag: %s", s)
log.WithContext(ctx).WithError(err).WithField("tag", s).Errorf("Error while parsing tag")
} else {
stream <- mapPostToArticle(res)
}
Expand Down

0 comments on commit 699ad3e

Please sign in to comment.