adding missing check to pointer

dev
Mzack9999 2020-07-29 19:50:54 +02:00
parent 4cf4b2e3c2
commit d5d745e9b0
1 changed files with 3 additions and 1 deletions

View File

@ -118,7 +118,9 @@ func (e *HTTPExecuter) ExecuteHTTP(p *progress.Progress, URL string) (result Res
httpRequest, err := e.bulkHttpRequest.MakeHTTPRequest(URL, dynamicvalues, e.bulkHttpRequest.Current(URL))
if err != nil {
result.Error = errors.Wrap(err, "could not build http request")
if p != nil {
p.Drop(remaining)
}
return
}