浏览代码

add traceback.print_exc on topology collection errors from peers

Alex Cheema 9 月之前
父节点
当前提交
9dc93fd53e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      exo/orchestration/standard_node.py

+ 1 - 0
exo/orchestration/standard_node.py

@@ -422,6 +422,7 @@ class StandardNode(Node):
         self.topology.merge(other_topology)
         self.topology.merge(other_topology)
       except Exception as e:
       except Exception as e:
         print(f"Error collecting topology from {peer.id()}: {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.
     next_topology.active_node_id = self.topology.active_node_id  # this is not so clean.
     self.topology = next_topology
     self.topology = next_topology