Remove errors from wyoming server handlers

This commit is contained in:
Alex X
2025-04-24 18:32:42 +03:00
parent 518cae1476
commit 890fd78a6a
4 changed files with 14 additions and 23 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ func (s *Server) Serve(l net.Listener) error {
}
}
func (s *Server) Handle(conn net.Conn) error {
func (s *Server) Handle(conn net.Conn) {
api := NewAPI(conn)
sat := newSatellite(api, s)
defer sat.Close()
@@ -45,7 +45,7 @@ func (s *Server) Handle(conn net.Conn) error {
for {
evt, err := api.ReadEvent()
if err != nil {
return err
return
}
switch evt.Type {