Skip to content

Commit 7ddf8f8

Browse files
[FXC-2376] Added support for VM error status (#1375)
1 parent a8e1353 commit 7ddf8f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flow360/component/volume_mesh.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@ class VolumeMeshStatusV2(Enum):
807807
COMPLETED = "completed"
808808
PENDING = "pending"
809809
GENERATING = "generating"
810+
ERROR = "error"
810811

811812
def is_final(self):
812813
"""
@@ -817,7 +818,7 @@ def is_final(self):
817818
bool
818819
True if status is final, False otherwise.
819820
"""
820-
if self in [VolumeMeshStatusV2.COMPLETED]:
821+
if self in [VolumeMeshStatusV2.COMPLETED, VolumeMeshStatusV2.ERROR]:
821822
return True
822823
return False
823824

0 commit comments

Comments
 (0)