helm-nexus-push
helm-nexus-push copied to clipboard
Plugin doesn't fail on HTTP error 4xx
-
What are you trying to do? The plugin doesn't fail on HTTP error 4xx
-
What feature or behavior is this required for? The curl command should actually fail on HTTP error 4xx and make the plugin failing.
-
How could we solve this issue? (Not knowing is okay!) Some option needs to be added to the
curlcommand:- --fail => (HTTP) Fail silently (no output at all) on server errors. This is mostly done to better enable scripts etc to better deal with failed attempts. In normal cases when a HTTP server fails to deliver a document, it returns an HTML document stating so (which often also describes why and more). This flag will prevent curl from outputting that and return error 22.
- --show-error => When used with -s it makes curl show an error message if it fails.