commit | f8a0a4940b8b936c960c927fbfe7116fcd3c0a63 | [log] [tgz] |
---|---|---|
author | Ryo Hashimoto <hashimoto@google.com> | Tue Dec 24 03:02:35 2024 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 26 10:32:44 2024 |
tree | 3c824ffaf2da8778786301747ea727f5341b6081 | |
parent | 78dc047237caee0f7391642ece6bab4dcaef8645 [diff] |
Raise exceptions for unexpected lease status Explicitly raise exceptions instead of raising AssertionError for better error handling. BUG=b:385789400 TEST=./run_tests.sh Change-Id: I51fc6a56d34155401ab4444427654db70cf65c5f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/bisect-kit/+/6119465 Tested-by: Ryo Hashimoto <hashimoto@chromium.org> Reviewed-by: Cheng-Yu Lee <cylee@google.com> Commit-Queue: Ryo Hashimoto <hashimoto@chromium.org>