Open sonman opened 2 years ago
I just saw that ErrInvalidParameters Exception exists. This accepts a msg parameter which should be passed to the description output. Why having ErrInvalidParameters and ErrBadRequest ? ErrInvalidParameters seems only returns a 40X Error on provisioning and updating.
Describe the bug When raising a ErrBadRequest Exception with Message "Some Message" within a provisioning kubernetes will not show the Message "Some Message". Also ErrorMessage and ResponseError is "< nil >".
Example:
To Reproduce Steps to reproduce the behavior:
svcat provision serviceinstance1 --class s3 --plan simple
which raises a ErrBadRequest("Some Message") during Provisioning.kubectl get serviceinstance serviceinstance1 -o yaml
and see that ErrorMessage and ResponseError is nil. Also the message "Some Message" is missing.Expected behavior