mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
BBIM to print console errors in case IFC file is failed to load
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user