[Metrics] Fix presubmit scripts to set an error exit code on failure.
Due to a bug in a recent refactoring, the script would log an error to the console, but would still set the success exit code, 0. BUG=468523 TEST=Try to submit a CL with invalid formatting, the presubmit script should block submission. R=asvitkine@chromium.org Review URL: https://codereview.chromium.org/1019123003 Cr-Commit-Position: refs/heads/master@{#321436}
Showing
Please register or sign in to comment