mirror of https://github.com/schollz/croc.git
bug fix: return if found error
This commit is contained in:
parent
3bcc83a8fc
commit
79f85fda9b
|
@ -102,6 +102,7 @@ func (s *server) run() (err error) {
|
|||
room, errCommunication := s.clientCommunication(port, c)
|
||||
if errCommunication != nil {
|
||||
log.Debugf("relay-%s: %s", connection.RemoteAddr().String(), errCommunication.Error())
|
||||
return
|
||||
}
|
||||
for {
|
||||
// check connection
|
||||
|
|
Loading…
Reference in New Issue