Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: git_cl.py

Issue 2441213002: Print failure reason when git cl try can't trigger jobs on a CL. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index c78207bdc9ee4f1ab1541ec1ca74238d8621b377..9a9566c5b02459add0a665fbe64f45803392c59f 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -4799,7 +4799,7 @@ def CMDtry(parser, args):
error_message = cl.CannotTriggerTryJobReason()
if error_message:
- parser.error('Can\'t trigger try jobs: %s')
+ parser.error('Can\'t trigger try jobs: %s' % error_message)
if not options.name:
options.name = cl.GetBranch()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698