Closed ohz10 closed 2 years ago
If io.Copy(ioutil.Discard, resp.Body) returns an error in eventwriter.send(), log the error.
io.Copy(ioutil.Discard, resp.Body)
eventwriter.send()
If
io.Copy(ioutil.Discard, resp.Body)
returns an error ineventwriter.send()
, log the error.