1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

fix err log.

This commit is contained in:
Mrs4s 2020-11-28 22:55:53 +08:00
parent a5e5be1aa2
commit 6d1228fce8

View File

@ -414,7 +414,7 @@ func decodeMsgSendResponse(c *QQClient, _ uint16, payload []byte) (interface{},
return nil, errors.Wrap(err, "failed to unmarshal protobuf message") return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
} }
if rsp.GetResult() != 0 { if rsp.GetResult() != 0 {
c.Error("send msg error: %v %v", rsp.Result, rsp.ErrMsg) c.Error("send msg error: %v %v", rsp.GetResult(), rsp.GetErrMsg())
} }
return nil, nil return nil, nil
} }