From f1fe281ab42cf36d048069ba3363e596924d4f28 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 27 Sep 2021 14:43:35 -0700 Subject: [PATCH] Fixup debug messages --- networks/tor/BaseOnionService.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/networks/tor/BaseOnionService.go b/networks/tor/BaseOnionService.go index 6d49ec6..f1930f2 100644 --- a/networks/tor/BaseOnionService.go +++ b/networks/tor/BaseOnionService.go @@ -76,7 +76,7 @@ func (s *BaseOnionService) WaitForCapabilityOrClose(cid string, name tapir.Capab } return true }) - log.Debugf("WaitForCapabilityOrClose attempts exceeded for %v all, connections closed", cid) + log.Debugf("WaitForCapabilityOrClose attempts exceeded for %v, all connections closed", cid) return nil, errors.New("failed to acquire capability after multiple attempts, forcibly closing all connections with the peer") } @@ -96,7 +96,7 @@ func (s *BaseOnionService) WaitForCapabilityOrClose(cid string, name tapir.Capab log.Debugf("Found %v %v", conn, err) // If there are no active connections then return an error... if conn == nil { - log.Debugf("Now active connection found for %v", cid) + log.Debugf("no active connection found for %v", cid) return nil, err }