currently, a failed bazel query doesn't stop bazel-diff
the query runs and bazel-diff exits with code 0 when complete
this occurs with or without --keep_going="false"
to reproduce: make a syntax error in BUILD.bazel file and generate-hashes on the workspace
this adds a new exception which is thrown if bazel query exits with non-zero exit code
currently, a failed
bazel query
doesn't stopbazel-diff
the query runs andbazel-diff
exits with code 0 when complete this occurs with or without--keep_going="false"
to reproduce: make a syntax error in
BUILD.bazel
file and generate-hashes on the workspacethis adds a new exception which is thrown if
bazel query
exits with non-zero exit code