Closed mariusgrigoriu closed 3 years ago
I encountered a panic with response.StatusCode() probably because err is not checked before attempting to access the response. In this patch, we log and retry on error just as if it were a status code that isn't OK.
response.StatusCode()
err
I encountered a panic with
response.StatusCode()
probably becauseerr
is not checked before attempting to access the response. In this patch, we log and retry on error just as if it were a status code that isn't OK.