Skip to content

Commit f2e0b46

Browse files
committed
"catch Exception" allows for tessellation streaming to kick in the event of a message that's too large.
1 parent 3619657 commit f2e0b46

File tree

1 file changed

+2
-2
lines changed
  • src/ansys/geometry/core/designer

1 file changed

+2
-2
lines changed

src/ansys/geometry/core/designer/body.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
)
7676
from ansys.geometry.core.designer.edge import CurveType, Edge
7777
from ansys.geometry.core.designer.face import Face, SurfaceType
78-
from ansys.geometry.core.errors import GeometryExitedError, protect_grpc
78+
from ansys.geometry.core.errors import protect_grpc
7979
from ansys.geometry.core.materials.material import Material
8080
from ansys.geometry.core.math.bbox import BoundingBox
8181
from ansys.geometry.core.math.constants import IDENTITY_MATRIX44
@@ -1372,7 +1372,7 @@ def tessellate_with_options( # noqa: D102
13721372
str(face_id): tess_to_pd(face_tess)
13731373
for face_id, face_tess in resp.face_tessellation.items()
13741374
}
1375-
except GeometryExitedError:
1375+
except Exception:
13761376
tessellation_map = {}
13771377
for response in self._bodies_stub.GetTessellationStream(request):
13781378
for key, value in response.face_tessellation.items():

0 commit comments

Comments
 (0)