echoserver: prevent fallthrough when Accept() fails
This commit is contained in:
parent
409af43fbb
commit
d96c7f3474
|
|
@ -46,6 +46,8 @@ func (echoServer *EchoServer) Run(ctx context.Context) error {
|
|||
if errors.Is(err, net.ErrClosed) {
|
||||
return nil
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
group.Go(func() error {
|
||||
|
|
|
|||
Loading…
Reference in New Issue