Skip to content

Commit

Permalink
skip deleted packs when parsing packs in the graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan committed Apr 4, 2024
1 parent 44b4997 commit 8996ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demisto_sdk/commands/content_graph/parsers/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def parse(
def parse_pack(pack_path: Path) -> Optional[PackParser]:
try:
return PackParser(pack_path)
except NotAContentItemException:
logger.error(f"Pack {pack_path.name} is not a valid pack. Skipping")
except (NotAContentItemException, FileNotFoundError):
logger.warning(f"Pack {pack_path.name} is not a valid pack. Skipping")
return None

@staticmethod
Expand Down

0 comments on commit 8996ab7

Please sign in to comment.