trace log adds join errors (#3352)

This commit is contained in:
fatedier
2023-03-11 19:34:06 +08:00
committed by GitHub
parent fccd518512
commit 8f394dba27
5 changed files with 12 additions and 6 deletions

View File

@@ -819,6 +819,9 @@ func HandleTCPWorkConnection(ctx context.Context, localInfo *config.LocalSvrConf
}
}
frpIo.Join(localConn, remote)
_, _, errs := frpIo.Join(localConn, remote)
xl.Debug("join connections closed")
if len(errs) > 0 {
xl.Trace("join connections errors: %v", errs)
}
}