You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Log a more informative error message when giving up on uploading
readings to the server. This would be the last message before
the pod exits, so if the pod ends up in CrashLoopBackoff it's
important to highlight this as the reason.
* Remove the "Running Agent" log message, it's not clear what it means
* Put [] around the body as if the body is empty the log message
can read like the following message is the body.
```
2024/05/10 16:33:43 retrying in 25.555756126s after error: received response with status code 404. Body:
W0510 16:33:43.832278 10875 reflector.go:535] pkg/mod/k8s.io/client-go@v0.28.3/tools/cache/reflector.go:229: failed to list route.openshift.io/v1, Resource=routes: the server could not find the requested resource
```
* Remove "using parent stop channel" from a log message as it's not
clear what it means. It used to be conditional, and now it isn't,
so it's not providing any information, and it's confusing as to
what it might be trying to tell you if you aren't familiar with that
code.
returnfmt.Errorf("failed to execute http request to VaaS. Request %s, status code: %d, body: %s", request.URL, response.StatusCode, body)
330
+
returnfmt.Errorf("failed to execute http request to Venafi Control Plane. Request %s, status code: %d, body: [%s]", request.URL, response.StatusCode, body)
0 commit comments