scrape: fix typo. (#7712)
Signed-off-by: johncming <johncming@yahoo.com>
This commit is contained in:
parent
32c2d897ec
commit
5578c96307
|
@ -1086,7 +1086,7 @@ func (sl *scrapeLoop) scrapeAndReport(interval, timeout time.Duration, last time
|
|||
sl.lastScrapeSize = len(b)
|
||||
}
|
||||
} else {
|
||||
level.Debug(sl.l).Log("msg", "Scrape failed", "err", scrapeErr.Error())
|
||||
level.Debug(sl.l).Log("msg", "Scrape failed", "err", scrapeErr)
|
||||
if errc != nil {
|
||||
errc <- scrapeErr
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue