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:
try:
IfcStore.load_file(IfcStore.path)
except:
pass
except Exception as e:
print(f"Failed to load file {IfcStore.path}. Error details: {e}")
return IfcStore.file
@staticmethod