Procházet zdrojové kódy

UI: Add notificationwhen Schema Resolve fails preparing node

Joseph Brandenburg před 6 měsíci
rodič
revize
2656f4dc80
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      readtree.py

+ 4 - 1
readtree.py

@@ -373,7 +373,10 @@ def parse_tree(base_tree):
                 if dep not in schema_solve_done:
                     break
             else:
-                n.bPrepare()
+                try:
+                    n.bPrepare()
+                except Exception as e:
+                    raise execution_error_cleanup(n, e)
                 schema_solve_done.add(n)
                 for conn in n.hierarchy_connections:
                     if conn not in schema_solve_done and conn not in solve_layer: