mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
bug fix: return if found error
This commit is contained in:
parent
3bcc83a8fc
commit
79f85fda9b
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ func (s *server) run() (err error) {
|
||||||
room, errCommunication := s.clientCommunication(port, c)
|
room, errCommunication := s.clientCommunication(port, c)
|
||||||
if errCommunication != nil {
|
if errCommunication != nil {
|
||||||
log.Debugf("relay-%s: %s", connection.RemoteAddr().String(), errCommunication.Error())
|
log.Debugf("relay-%s: %s", connection.RemoteAddr().String(), errCommunication.Error())
|
||||||
|
return
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
// check connection
|
// check connection
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue