From e4420122f836d508067b7ef6af2e9a38ef18ff27 Mon Sep 17 00:00:00 2001 From: Peter Bourgon Date: Wed, 28 Nov 2018 11:01:10 -0800 Subject: [PATCH] Slightly softer wording in error message --- monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.go b/monitor.go index ba00dc1..5d058d1 100644 --- a/monitor.go +++ b/monitor.go @@ -57,7 +57,7 @@ func monitor(ctx context.Context, client httpClient, token string, serviceID str process(rt, serviceID, serviceName, metrics) postprocess() case http.StatusUnauthorized, http.StatusForbidden: - level.Error(logger).Log("status_code", resp.StatusCode, "response_ts", rt.Timestamp, "err", rterr, "msg", "-token is likely invalid") + level.Error(logger).Log("status_code", resp.StatusCode, "response_ts", rt.Timestamp, "err", rterr, "msg", "token may be invalid") contextSleep(ctx, 15*time.Second) default: level.Error(logger).Log("status_code", resp.StatusCode, "response_ts", rt.Timestamp, "err", rterr)