系统优化
This commit is contained in:
parent
c626fcd33c
commit
eac1db699c
@ -169,7 +169,7 @@ func HandleClientReq(args []interface{}) {
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
log.Error("uid : %d, func : %s, fatal : %s", p.(*Player).M_DwUin, m.GetFunc(), r)
|
||||
GoUtil.SendFeishuFatal(int(p.(*Player).M_DwUin), m.GetFunc(), r.(string))
|
||||
GoUtil.SendFeishuFatal(int(p.(*Player).M_DwUin), m.GetFunc(), fmt.Sprintf("fatal : %s", r))
|
||||
p.(*Player).Recover(backup) //还原Player的数据
|
||||
}
|
||||
p.(*Player).lock.Unlock() //解锁
|
||||
|
||||
Loading…
Reference in New Issue
Block a user