Closed rittneje closed 4 months ago
I came across the following code while trying to diagnose an oddity we are seeing with "expected status codes".
https://github.com/newrelic/go-agent/blob/424d17590487f6633a2edd5fc272737e46355900/v3/newrelic/app_run.go#L102-L108
Should that instead say run.Config.ErrorCollector.ExpectStatusCodes != nil?
run.Config.ErrorCollector.ExpectStatusCodes != nil
Seems like a likely bug, we will make a ticket for it.
Released fix with #924. Closing this out for now!
I came across the following code while trying to diagnose an oddity we are seeing with "expected status codes".
https://github.com/newrelic/go-agent/blob/424d17590487f6633a2edd5fc272737e46355900/v3/newrelic/app_run.go#L102-L108
Should that instead say
run.Config.ErrorCollector.ExpectStatusCodes != nil
?