Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JvD-Ericsson
Copy link
Contributor

Added a check before connecting to the DB to see if the DB exists first and returns an appropriate error if not.

Would close: #3049

Copy link

@wasup-yash wasup-yash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (not official reviewer)

Copy link
Contributor

@kzantow kzantow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could download the database if it doesn't exist earlier, but this will help a confusing error message 👍

@kzantow kzantow merged commit 9de9a01 into anchore:main Dec 1, 2025
12 checks passed
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.

db search fails with misleading message (out of memory) when no db is present

3 participants