break out of workload grabbing when there's an error reading a certain Yaml

This commit is contained in:
MikeYaacoubStax
2023-02-21 15:27:28 -05:00
parent 52e0bc36c1
commit f363cec561

View File

@@ -198,7 +198,8 @@ public class WorkloadContainerVerifications {
}
}
} catch (Exception e) {
System.out.println("Error reading file " + workload.getYamlPath() + ": " + e.getMessage());
logger.error("Error reading file " + workload.getYamlPath() + ": " + e.getMessage());
break;
}
}
}