peer+server: provide more verbose logging

This commit is contained in:
yyforyongyu
2023-06-14 06:09:11 +08:00
parent 7f95810359
commit bacb49ddba
2 changed files with 3 additions and 2 deletions

View File

@@ -4012,6 +4012,7 @@ func (s *server) peerTerminationWatcher(p *peer.Brontide, ready chan struct{}) {
// If the server is exiting then we can bail out early ourselves as all
// the other sub-systems will already be shutting down.
if s.Stopped() {
srvrLog.Debugf("Server quitting, exit early for peer %v", p)
return
}