UCL-ARC / dirac-swift-api

Repository for the REST API side of the DiRAC-SWIFT project
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Improved error handling for missing pydantic fields #17

Closed harryjmoss closed 1 year ago

harryjmoss commented 1 year ago

Improves error handling for invalid pydantic settings loads, giving the end user of our API more information about missing fields.

This hard codes the virgo DB URL, as I don't think it's necessary to obscure this and we shouldn't be persuing security by obscurity in any case.

Closes #16