Skip to content

Raise RuntimeError when repo not found#26

Merged
2Ryan09 merged 1 commit into
mainfrom
runtime-on-repo-not-found
Jun 25, 2026
Merged

Raise RuntimeError when repo not found#26
2Ryan09 merged 1 commit into
mainfrom
runtime-on-repo-not-found

Conversation

@2Ryan09

@2Ryan09 2Ryan09 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

The repo resolver's cursor_to_objlist call raises when a repo does not exist as it attempts to iterate over None returned by mongodb's find_one.

This change raises a specific RuntimeError when a repo is not found for better traceability.

Returning None when a repo was not found was also considered, however the blast radiu of such a change is significant and not suited for a hot fix.

@2Ryan09
2Ryan09 merged commit b35b626 into main Jun 25, 2026
1 check 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.

1 participant