osv.dev
osv.dev copied to clipboard
Unhandled exception in sources.py causing crash under specific conditions
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