Abort single request

dev
Manuel Bua 2020-07-07 23:11:33 +02:00
parent 32db612f62
commit df501136a6
1 changed files with 3 additions and 2 deletions

View File

@ -132,9 +132,10 @@ mainLoop:
if resp != nil {
resp.Body.Close()
}
//p.Abort(remaining)
//return errors.Wrap(err, "could not issue http request")
p.Abort(1)
p.StartStdCapture()
gologger.Warningf("Could not do request: %s\n", err)
p.StopStdCaptureAndShow()
continue
}