From c4db4620241ae42d7d7245f552cd96705bdf8d95 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Sat, 17 Feb 2018 17:23:44 +0400 Subject: [PATCH] More debug on production due to strange errors --- lib/datacache/squads.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/datacache/squads.go b/lib/datacache/squads.go index 8d25c51..d2f59a9 100644 --- a/lib/datacache/squads.go +++ b/lib/datacache/squads.go @@ -65,6 +65,12 @@ func (dc *DataCache) loadSquads() { } 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))) + // More debug!!! + for i := range dc.squadPlayers { + for j := range dc.squadPlayers[i] { + c.Log.Debugln(dc.squadPlayers[i][j]) + } + } dc.squadsMutex.Unlock() }