mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
more error message.
This commit is contained in:
parent
1635322267
commit
e705f96efd
@ -1,6 +1,7 @@
|
|||||||
package client
|
package client
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
"strconv"
|
"strconv"
|
||||||
@ -161,7 +162,10 @@ func decodeLoginResponse(c *QQClient, _ uint16, payload []byte) (interface{}, er
|
|||||||
ErrorMessage: t146r.ReadStringShort(),
|
ErrorMessage: t146r.ReadStringShort(),
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
c.Debug("unknown login response: %v", t)
|
||||||
|
for k, v := range m {
|
||||||
|
c.Debug("Type: %v Value: %v", strconv.FormatInt(int64(k), 16), hex.EncodeToString(v))
|
||||||
|
}
|
||||||
return nil, errors.Errorf("unknown login response: %v", t) // ?
|
return nil, errors.Errorf("unknown login response: %v", t) // ?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user