trace log adds join errors (#3352)

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

No files matched your search

+4 -1
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)
}
}