Skip to content

Propagate error in FileSourceProvider instead of warn log#3845

Merged
wagoodman merged 2 commits intoanchore:mainfrom
Rupikz:fix-propagate-unarchive-error
May 5, 2025
Merged

Propagate error in FileSourceProvider instead of warn log#3845
wagoodman merged 2 commits intoanchore:mainfrom
Rupikz:fix-propagate-unarchive-error

Conversation

@Rupikz
Copy link
Copy Markdown
Contributor

@Rupikz Rupikz commented May 2, 2025

Description

As a user, I want to see an error if there is something wrong with my archive. But now syft just leaves userInput to the catalogers, hoping that they can handle an invalid archive.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have tested my code in common scenarios and confirmed there are no regressions

Signed-off-by: Kudryavcev Nikolay <kydry.nikolau@gmail.com>
@wagoodman wagoodman enabled auto-merge (squash) May 5, 2025 15:04
…ve-error

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman merged commit e13c9e7 into anchore:main May 5, 2025
13 checks passed
spiffcs added a commit that referenced this pull request May 6, 2025
* main:
  fix: use "contents" field and remove "fullText" license field  (#3857)
  Add `deep-squashed` scope to annotate all layers where a package exists (#3138)
  fix: propagate unarchive error of file source (#3845)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Propagate error in FileSourceProvider instead of warn log

2 participants