Closed dpb1857 closed 3 years ago
When c.Validate(u) returns an error, if we simply return the error up the stack, the user will see an "internal error" message. Improve handling by returning the status http.StatusBadRequest with the validation failures in the string.
Closing this one as duplicate of #153.
When c.Validate(u) returns an error, if we simply return the error up the stack, the user will see an "internal error" message. Improve handling by returning the status http.StatusBadRequest with the validation failures in the string.