add log
This commit is contained in:
parent
8ee109e673
commit
683fb2d72d
@ -180,6 +180,10 @@ func (this *SociatyMineView) CreateView(t *model.TestCase) fyne.CanvasObject {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if this.master == nil {
|
||||||
|
logrus.Errorf("会长数据是空,公会ID:%v", this.sociaty.Id)
|
||||||
|
return
|
||||||
|
}
|
||||||
//会长信息
|
//会长信息
|
||||||
pName := widget.NewEntry()
|
pName := widget.NewEntry()
|
||||||
pName.Text = this.master.Name
|
pName.Text = this.master.Name
|
||||||
|
@ -110,7 +110,7 @@ func (this *User) GetUser(uid string) (user *pb.DBUser) {
|
|||||||
if this.IsCross() {
|
if this.IsCross() {
|
||||||
user, err = this.getRemoteUser(uid)
|
user, err = this.getRemoteUser(uid)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.Errorln("查询远程玩家信息", err)
|
this.Errorf("查询远程玩家信息 tag:%v err:%v", this.service.GetTag(), err)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -175,7 +175,6 @@ func (this *DB) ServerDBConn(stage string) (conn *DBConn, err error) {
|
|||||||
if !ok {
|
if !ok {
|
||||||
err = fmt.Errorf("DBConn:%s on init", stage)
|
err = fmt.Errorf("DBConn:%s on init", stage)
|
||||||
}
|
}
|
||||||
log.Debug("servers", log.Field{Key: stage, Value: this.servers[stage]})
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user