Tweak log message

This commit is contained in:
Josh Deprez 2023-01-21 17:02:24 +11:00
parent 40b56ee7ec
commit 00b58cbdb9
Signed by: josh
SSH key fingerprint: SHA256:zZji7w1Ilh2RuUpbQcqkLPrqmRwpiCSycbF2EfKm6Kw

View file

@ -200,7 +200,7 @@ func metricsHandler(w http.ResponseWriter, r *http.Request) {
var lastErr error var lastErr error
for i := 0; i < 3; i++ { for i := 0; i < 3; i++ {
if err := scrape(); err != nil { if err := scrape(); err != nil {
log.Printf("Retrying scrape; error: %v", err) log.Printf("Scrape error: %v", err)
lastErr = err lastErr = err
continue continue
} }