Skip to content

Commit

Permalink
Merge pull request #47 from k1LoW/fix-fetch-error-handle
Browse files Browse the repository at this point in the history
Fix fetch error handling
  • Loading branch information
k1LoW authored Sep 25, 2019
2 parents ff64db0 + 7fb0076 commit 2e7a332
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/hrv/cmd/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ var fetchCmd = &cobra.Command{
c, err := collector.NewCollector(ctx, t, l)
if err != nil {
l.Error("Fetch error", zap.String("host", t.Host), zap.String("path", t.Path), zap.String("error", err.Error()))
return
}
err = c.Fetch(d.In(), st, et, t.MultiLine)
if err != nil {
Expand Down

0 comments on commit 2e7a332

Please sign in to comment.