Crash when too few users

Issue #3 new
Dom Davis repo owner created an issue
panic: runtime error: index out of range [3] with length 3

goroutine 1 [running]:
bitbucket.org/idomdavis/godominate/mee6.Leaderboard.Top(...)
        /Volumes/Development/src/bitbucket.org/idomdavis/godominate/mee6/leaderboard.go:103
bitbucket.org/idomdavis/godominate/monitor.Display(0x140000cc180, 0x12, 0x140000cc198, 0x12, 0x19, 0xa, 0x140000a262d, 0x3, 0x1c, 0xc4, ...)
        /Volumes/Development/src/bitbucket.org/idomdavis/godominate/monitor/display.go:16 +0x360
bitbucket.org/idomdavis/godominate/monitor.Run(0x140000cc180, 0x12, 0x140000cc198, 0x12, 0x19, 0xa, 0x140000a262d, 0x3, 0x1c, 0xc4, ...)
        /Volumes/Development/src/bitbucket.org/idomdavis/godominate/monitor/run.go:19 +0x200
main.main()

Comments (0)

  1. Log in to comment