Skip to content

Commit dc19553

Browse files
committed
Ops that produce no polygons should be re-run locally
1 parent a7c5e74 commit dc19553

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/eu/mihosoft/vrl/v3d/CSGClient.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ private ArrayList<CSG> performOperation(List<CSG> csgList, CSGRemoteOperation op
167167
for(CSG c:response.getCsgList()) {
168168
if(c.getPolygons().size()==0) {
169169
System.out.println("Running Operation on server: " + hostname + " " + operation);
170-
new RuntimeException("Network CSG op resulted in no polygons here ").printStackTrace();
170+
RuntimeException runtimeException = new RuntimeException("Network CSG op resulted in no polygons here ");
171+
runtimeException.printStackTrace();
172+
throw runtimeException;
171173
}
172174
CSG historySync = CSG.fromPolygons(c.getPolygons());
173175
back.add( historySync);

0 commit comments

Comments
 (0)