Skip to content

Commit 6f4cafe

Browse files
committed
make sure failing task does not blow up the build
1 parent 9bbc608 commit 6f4cafe

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/main/java/com/neuronrobotics/bowlerstudio/scripting/cadoodle/CaDoodleFile.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,13 @@ public static int applyToAllConstituantElements(boolean addRet, List<String> tar
481481
ICadoodleRecursiveEvent p, int depth) {
482482
for (int i = 0; i < targetNames.size(); i++) {
483483
String s = targetNames.get(i);
484-
CSG c = getByName(back, s);
485-
if (c.isInGroup())
486-
continue;
484+
try {
485+
CSG c = getByName(back, s);
486+
if (c.isInGroup())
487+
continue;
488+
}catch(Exception ex) {
489+
ex.printStackTrace();
490+
}
487491
applyToAllConstituantElements(addRet, s, back, p, depth);
488492
}
489493
return back.size();

0 commit comments

Comments
 (0)