justheuristic 3 жил өмнө
parent
commit
cdbe891cdf

+ 2 - 2
hivemind/averaging/matchmaking.py

@@ -242,10 +242,10 @@ class Matchmaking:
             logger.debug(f"{self} - unexpected message from leader: {averaging_pb2.MessageCode.Name(message.code)}")
             return None
         except asyncio.TimeoutError:
-            logger.debug(f"{self} - potential leader {leader} did not respond within {self.request_timeout}")
+            logger.info(f"{self} - potential leader {leader} did not respond within {self.request_timeout}")
             return None
         except (P2PHandlerError, ControlFailure, DispatchFailure, StopAsyncIteration) as e:
-            logger.debug(f"{self} - failed to request potential leader {leader}:")
+            logger.info(f"{self} - failed to request potential leader {leader}: {repr(e)}", exc_info=True)
             return None
 
         finally: