osv.dev icon indicating copy to clipboard operation
osv.dev copied to clipboard

Unhandled exception in sources.py causing crash under specific conditions

Open jess-lowe opened this issue 7 months ago • 2 comments

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 Image

jess-lowe avatar May 27 '25 06:05 jess-lowe