Skip to content

Improve download error failures#36

Open
ehennestad wants to merge 2 commits intomainfrom
codex-improve-error-when-download-fails
Open

Improve download error failures#36
ehennestad wants to merge 2 commits intomainfrom
codex-improve-error-when-download-fails

Conversation

@ehennestad
Copy link
Copy Markdown
Contributor

What changed

  • improve error handling when versions.json and related metadata downloads fail
  • raise a clear DownloadError instead of falling through to a later FileNotFoundError
  • make SSL certificate verification failures report a clearer, more actionable message
  • add versions.json to .gitignore so the downloaded file is not tracked accidentally

Why

When the validator could not download versions.json, it logged a network error and then continued into a confusing FileNotFoundError because the file was never created.

Impact

Validation failures caused by download problems should now be easier to understand and diagnose, especially for local SSL certificate issues.

Validation

  • parsed openMINDS_validation/utils.py successfully with ast.parse
  • did not run the full validator flow

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