flagger icon indicating copy to clipboard operation
flagger copied to clipboard

fix: datadog metrics should provide http status code on error if non-2xx response

Open erikmiller-gusto opened this issue 5 months ago • 0 comments

currently the log line exposes the error, however that's always going to be nil based on the check just above it. This provides better visibility into the failure reason

Previously:

frontend-errors-beta: error response: : %!w(<nil>)

Now:

frontend-errors-beta: error response: : 500 InternalServerError

erikmiller-gusto avatar Nov 13 '25 20:11 erikmiller-gusto