skip record creation in case a kustomize file path is missing
@@ -113,7 +113,8 @@ class K8sKustomizeRunner(K8sRunner):
else:
kustomizeResourceID = f'{realKustomizeEnvMetadata["type"]}:{entity_id}'
else:
- kustomizeResourceID = "Unknown error. This is a bug."
+ logging.warning(f"couldn't find {entity_file_abs_path} path in kustomizeFileMappings")
+ continue
code_lines = entity_context.get("code_lines")
file_line_range = self.line_range(code_lines)
