BBIM to print console errors in case IFC file is failed to load

This commit is contained in:
Andrej730
2024-01-26 11:17:07 +05:00
parent 947ae02ab9
commit 7cb08a93a8
+2 -2
View File
@@ -80,8 +80,8 @@ class IfcStore:
if IfcStore.path: if IfcStore.path:
try: try:
IfcStore.load_file(IfcStore.path) IfcStore.load_file(IfcStore.path)
except: except Exception as e:
pass print(f"Failed to load file {IfcStore.path}. Error details: {e}")
return IfcStore.file return IfcStore.file
@staticmethod @staticmethod