mirror of https://github.com/daffainfo/nuclei.git
adding missing check to pointer
parent
4cf4b2e3c2
commit
d5d745e9b0
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue