Open ckniffen opened 1 year ago
Error responses from the VHS always return a status of 200. We should leverage 404 and 500s at the very least.
404 example https://github.com/ripple/validator-history-service/blob/main/src/api/routes/v1/validator.ts#L233 500 example https://github.com/ripple/validator-history-service/blob/main/src/api/routes/v1/validator.ts#L275
Is this issue still valid? And if yes, should I work on it?
I believe so, and sure
Error responses from the VHS always return a status of 200. We should leverage 404 and 500s at the very least.
404 example https://github.com/ripple/validator-history-service/blob/main/src/api/routes/v1/validator.ts#L233 500 example https://github.com/ripple/validator-history-service/blob/main/src/api/routes/v1/validator.ts#L275