Skip to content

Commit

Permalink
Slightly softer wording in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Nov 28, 2018
1 parent 34afc09 commit e442012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e442012

Please sign in to comment.