Archived
1

More debug on production due to strange errors

This commit is contained in:
Vladimir Hodakov 2018-02-17 17:23:44 +04:00
parent 5fda8af5fa
commit c4db462024

View File

@ -65,6 +65,12 @@ func (dc *DataCache) loadSquads() {
} }
c.Log.Info("Loaded squads in DataCache: " + strconv.Itoa(len(dc.squads))) c.Log.Info("Loaded squads in DataCache: " + strconv.Itoa(len(dc.squads)))
c.Log.Info("Loaded players relations to squads in DataCache: " + strconv.Itoa(len(dc.squadPlayers))) c.Log.Info("Loaded players relations to squads in DataCache: " + strconv.Itoa(len(dc.squadPlayers)))
// More debug!!!
for i := range dc.squadPlayers {
for j := range dc.squadPlayers[i] {
c.Log.Debugln(dc.squadPlayers[i][j])
}
}
dc.squadsMutex.Unlock() dc.squadsMutex.Unlock()
} }