Tweak log message
This commit is contained in:
parent
40b56ee7ec
commit
00b58cbdb9
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -200,7 +200,7 @@ func metricsHandler(w http.ResponseWriter, r *http.Request) {
|
|||
var lastErr error
|
||||
for i := 0; i < 3; i++ {
|
||||
if err := scrape(); err != nil {
|
||||
log.Printf("Retrying scrape; error: %v", err)
|
||||
log.Printf("Scrape error: %v", err)
|
||||
lastErr = err
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue