Переглянути джерело

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)
       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