diff --git a/socket/web/server.go b/socket/web/server.go index fef7600..d3b6cb5 100644 --- a/socket/web/server.go +++ b/socket/web/server.go @@ -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 }