1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

chore: 将exchange_emp的错误码塞在error中

This commit is contained in:
Lin 2021-12-15 19:32:05 +08:00
parent ed979508cf
commit b929afd424
No known key found for this signature in database
GPG Key ID: 244C608766137C86

View File

@ -204,8 +204,7 @@ func decodeExchangeEmpResponse(c *QQClient, _ *incomingPacketInfo, payload []byt
reader.ReadUInt16()
m := reader.ReadTlvMap(2)
if t != 0 {
c.Error("exchange_emp error: %v", t)
return nil, errors.New("exchange_emp failed")
return nil, errors.Errorf("exchange_emp failed: %v", t)
}
if cmd == 15 {
c.decodeT119R(m[0x119])