Don't return the error detail back to the client when adding registry
Don't return the error detail back to the client when adding registry

Don't return the error detail back to the client when adding registry to avoid security issue

Signed-off-by: Wenkai Yin <f217e32b30716cdf38664c331b6ddefbd7f5cdf6@vmware.com>

reasonerjt/harbor,reasonerjt/harbor,reasonerjt/harbor,wy65701436/harbor,wy65701436/harbor,reasonerjt/harbor,reasonerjt/harbor,wy65701436/harbor,wy65701436/harbor,wy65701436/harbor,wy65701436/harbor,reasonerjt/harbor