Closed matlockx closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.15%. Comparing base (
231ca0e
) to head (b71c78a
). Report is 1 commits behind head on v2.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@matlockx I was able to make the release prep work on the browser. Now, v2.15.3 has been released.
An error like ‘dial tcp 10.66.0.229:80: connect: connection refused’ when request and response logging is activated causes an ‘invalid memory address or nil pointer dereference’. This is due to changes from version 2.14 to 2.15, where the logging call was moved up in the execute function. In version 2.14, the function returned early on this error, so the logging call was not made. Now, the logging call is made, and res.RawResponseProto is used without a nil check on RawResponse.
The fix is simple: use res.Proto(), which performs the nil check.
fixes #873