Commit 99e2cdf4 authored by qyearsley's avatar qyearsley Committed by Commit bot

Print failure reason when git cl try can't trigger jobs on a CL.

This is a very little fix.

Review-Url: https://codereview.chromium.org/2441213002
parent d975b30c
......@@ -4810,7 +4810,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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment