Skip to content

Commit

Permalink
fix: use that error
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhorner committed Aug 8, 2020
1 parent 23c8154 commit 5f302c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Expand Up @@ -150,6 +150,10 @@ func main() {
// Shut down instance if there are no players
// remaining after the specified time in config
err = maybeShutdown(conf, google)
if err != nil {
glog.Warningf("unable to auto-shutdown server: %v", err)
return
}
}

time.Sleep(serverPollRate)
Expand Down

0 comments on commit 5f302c0

Please sign in to comment.