git-cl: Make 'failed to add as cc' message less scary
BUG=665263
Change-Id: If72f3e5369ea0df170916c353be5188167c7aecb
Reviewed-on: https://chromium-review.googlesource.com/454977
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
diff --git a/gerrit_util.py b/gerrit_util.py
index 9de21c8..be6bca6 100755
--- a/gerrit_util.py
+++ b/gerrit_util.py
@@ -686,7 +686,7 @@
_ = ReadHttpJsonResponse(conn, ignore_404=False)
except GerritError as e:
if e.http_status == 422: # "Unprocessable Entity"
- LOGGER.warn('Failed to add "%s" as a %s' % (r, state.lower()))
+ LOGGER.warn('Note: "%s" not added as a %s' % (r, state.lower()))
errors = True
else:
raise