network layer should not have forceful read

dev
mzack 2024-02-06 19:31:23 +01:00
parent 7647af1722
commit a0216e4cc9
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ func (request *Request) executeRequestWithPayloads(variables map[string]interfac
final, err := ConnReadNWithTimeout(conn, int64(bufferSize), DefaultReadTimeout)
if err != nil {
request.options.Output.Request(request.options.TemplatePath, address, request.Type().String(), err)
return errors.Wrap(err, "could not read from server")
gologger.Verbose().Msgf("could not read more data from %s: %s", actualAddress, err)
}
responseBuilder.Write(final)