mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-25 12:42:12 +08:00
feat: log
This commit is contained in:
parent
5abbcaebb8
commit
a6827dc269
@ -185,10 +185,12 @@ func (g *Client) postReturn(
|
||||
output RespI,
|
||||
timeout int,
|
||||
) error {
|
||||
log.ZDebug(ctx, "url:", url, "header:", header, "input:", input, "timeout:", timeout)
|
||||
err := g.httpClient.PostReturn(ctx, url, header, input, output, timeout)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.ZDebug(ctx, "output:", output)
|
||||
return output.parseError()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user