mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 22:39:18 +08:00
zap
This commit is contained in:
@@ -36,7 +36,7 @@ func rpcClientInterceptor(ctx context.Context, method string, req, resp interfac
|
||||
log.ZInfo(ctx, "rpc resp", "funcName", method, rpcString(resp))
|
||||
return nil
|
||||
}
|
||||
log.ZError(ctx, "rpc resp error:", err)
|
||||
log.ZError(ctx, "rpc resp error", err)
|
||||
rpcErr, ok := err.(interface{ GRPCStatus() *status.Status })
|
||||
if !ok {
|
||||
return errs.ErrInternalServer.Wrap(err.Error())
|
||||
|
||||
Reference in New Issue
Block a user