Merge pull request #382 from projectdiscovery/bugfix-logic-pdcmp

bugfix
dev
Mzack9999 2020-10-24 20:07:47 +02:00 committed by GitHub
commit a824c3f17e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -457,13 +457,12 @@ func (e *HTTPExecuter) handleHTTP(reqURL string, request *requests.HTTPRequest,
if resp != nil { if resp != nil {
resp.Body.Close() resp.Body.Close()
} }
return err
}
e.traceLog.Request(e.template.ID, reqURL, "http", err) e.traceLog.Request(e.template.ID, reqURL, "http", err)
return err return err
} }
e.traceLog.Request(e.template.ID, reqURL, "http", nil) e.traceLog.Request(e.template.ID, reqURL, "http", nil)
} }
}
duration := time.Since(timeStart) duration := time.Since(timeStart)