Skip to content

Commit

Permalink
Remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Mar 9, 2018
1 parent 8be0611 commit 28ea5ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions res_handler_transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ func (h *ResponseTransformMiddleware) HandleResponse(rw http.ResponseWriter, res
mxj.XmlCharsetReader = WrappedCharsetReader
var err error

bodyBuf, _ := ioutil.ReadAll(respBody)
log.Warning("BODY:", string(bodyBuf))

bodyData, err = mxj.NewMapXml(bodyBuf) // unmarshal
bodyData, err = mxj.NewMapXmlReader(respBody) // unmarshal
if err != nil {
log.WithFields(logrus.Fields{
"prefix": "outbound-transform",
Expand Down

0 comments on commit 28ea5ac

Please sign in to comment.