[object Object]

← back to Exo

add traceback.print_exc on topology collection errors from peers

9dc93fd53e85c339516f01bd532aabe313837c19 · 2024-10-28 11:01:20 -0700 · Alex Cheema

Files touched

Diff

commit 9dc93fd53e85c339516f01bd532aabe313837c19
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Mon Oct 28 11:01:20 2024 -0700

    add traceback.print_exc on topology collection errors from peers
---
 exo/orchestration/standard_node.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exo/orchestration/standard_node.py b/exo/orchestration/standard_node.py
index efeb8b61..914a3487 100644
--- a/exo/orchestration/standard_node.py
+++ b/exo/orchestration/standard_node.py
@@ -422,6 +422,7 @@ class StandardNode(Node):
         self.topology.merge(other_topology)
       except Exception as e:
         print(f"Error collecting topology from {peer.id()}: {e}")
+        traceback.print_exc()
 
     next_topology.active_node_id = self.topology.active_node_id  # this is not so clean.
     self.topology = next_topology

← eb8a444e fix flops parsing  ·  back to Exo  ·  cehckpoint 29ca6ad1 →