Skip to content

Commit

Permalink
move content debug
Browse files Browse the repository at this point in the history
  • Loading branch information
flyhope committed Jun 4, 2020
1 parent aad2422 commit ea19a6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ func (c *Client) Send() error {
comm.Log.WithFields(logrus.Fields{"YAR": "Except"}).Debug(c.Response.Except)
}

comm.Log.WithFields(logrus.Fields{"YAR": "BodyContent"}).Debug(string(bodyContent))

if err != nil {
return err
}

comm.Log.WithFields(logrus.Fields{"YAR": "BodyContent"}).Debug(string(bodyContent))
if c.Response.Except != nil {
return c.Response.Except
}
Expand Down

0 comments on commit ea19a6b

Please sign in to comment.