Unhandled exception in sources.py causing crash under specific conditions
Open
cleanup
infra
needs-gcp-infra-access
techdebt
- Dominant language
- Go
- Stars
- 2.9k
- Forks
- 369
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 149
Description
**Describe the bug**
Due to an unhandled exception in the importer/sources.py file, when the schema validation of a file fails, the cron job was being killed.
https://github.com/google/osv.dev/blob/7efca9136ce630a25f2a754d4b18148b0e0b8c4d/osv/sources.py\#L169C2-L173C12
This was noticed as the prefix of a new data source was missing from the schema.
**Screenshots**

Contributor guide
Assessment
This issue has not been assessed yet.