From 32fbb7da5125b80e9c471b49d07367ef91e46f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Thu, 15 Aug 2024 17:59:44 +0200 Subject: [PATCH] Add debug --- client/internal/routemanager/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/routemanager/client.go b/client/internal/routemanager/client.go index d5b1a26da..fe638edca 100644 --- a/client/internal/routemanager/client.go +++ b/client/internal/routemanager/client.go @@ -136,7 +136,7 @@ func (c *clientNetwork) getBestRouteFromStatuses(routePeerStatuses map[route.ID] } if tempScore > chosenScore || (tempScore == chosenScore && chosen == "") { - log.Infof("tempScore > chosenScore, chosen: %s", r.ID) + log.Infof("tempScore(%f) > chosenScore(%f) || (tempScore(%f) == chosenScore(%f) && chosen == \"\"(%s): chosen: %s", tempScore, chosenScore, tempScore, chosenScore, chosen, r.ID) chosen = r.ID chosenScore = tempScore }