ing
This commit is contained in:
parent
973fb2cb53
commit
35e8be57fd
|
@ -66,6 +66,7 @@ func (s *Server) ListenAndServe() error {
|
|||
}
|
||||
|
||||
if err = s.ServerHandler.Init(s.ctx); nil != err {
|
||||
logging.Logger().Errorf("%s Init has been failed %v", s.logHeader(), err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
@ -119,6 +120,7 @@ func (s *Server) handleServer(listener net.Listener) error {
|
|||
}()
|
||||
|
||||
if err = s.ServerHandler.OnStart(s.ctx); nil != err {
|
||||
logging.Logger().Errorf("%s OnStart has been failed %v", s.logHeader(), err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user