diff options
Diffstat (limited to 'backend/main.go')
| -rw-r--r-- | backend/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/main.go b/backend/main.go index 62499d6..9f92415 100644 --- a/backend/main.go +++ b/backend/main.go @@ -99,7 +99,9 @@ func main() { go gameHubs.Run() go func() { - workerServer.Run() + if err := workerServer.Run(); err != nil { + log.Fatal(err) + } }() if err := e.Start(":80"); err != http.ErrServerClosed { |
