This commit is contained in:
ginuerzh
2022-03-12 19:23:19 +08:00
parent 4364190e6d
commit 4007e80811
10 changed files with 26 additions and 20 deletions

View File

@ -110,6 +110,7 @@ func (s *service) Serve() error {
}()
if err := s.handler.Handle(context.Background(), conn); err != nil {
s.options.logger.Error(err)
metrics.HandlerErrors(s.name).Inc()
}
}()