diff --git a/server/server.go b/server/server.go index edc65989..cf8cf338 100644 --- a/server/server.go +++ b/server/server.go @@ -35,8 +35,8 @@ func NewServer(protoAddr string, app types.Application) (*Server, error) { app: app, } s.QuitService = *NewQuitService(nil, "TMSPServer", s) - s.Start() // Just start it - return s, nil + _, err := s.Start() // Just start it + return s, err } func (s *Server) OnStart() error {