chore(debug): log http response

This commit is contained in:
Jan De Dobbeleer 2022-03-19 17:26:52 +01:00 committed by Jan De Dobbeleer
parent 0f489ec88e
commit 255c9baebf

View file

@ -612,6 +612,7 @@ func (env *ShellEnvironment) HTTPRequest(targetURL string, timeout int, requestM
env.log(Error, "HTTPRequest", err.Error())
return nil, err
}
env.log(Debug, "HTTPRequest", string(body))
return body, nil
}