You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without this, Gerrit does a response, so curl just returns 0. But we
want it to actually interpret the response, and exit with error for
things like a 401 (Unauthorized).
Fixes issue #24.
Signed-off-by: Jim Harris <[email protected]>
Change-Id: I5eaefd6f7fe1bf2f46ecf25064078e8d15ab9818
Without this, Gerrit does a response, so curl just returns 0. But we
want it to actually interpret the response, and exit with error for
things like a 401 (Unauthorized).
Fixes issue #24.
Signed-off-by: Jim Harris <[email protected]>
Change-Id: I5eaefd6f7fe1bf2f46ecf25064078e8d15ab9818
If we try to vote on a patch, and it fails due to an unauthorized response, curl by default returns 0, and the autorun job passes.
We need to pass
--fail-with-body
to curl, then it will interpret the response and exit with error for things like an unauthorized (404) response.The text was updated successfully, but these errors were encountered: