Browse Source

Return NewServer listener start error

pull/1780/head
Jae Kwon 9 years ago
parent
commit
8cac8600e5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      server/server.go

+ 2
- 2
server/server.go View File

@ -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 {


Loading…
Cancel
Save