commit | 73c31cd9d00dc82d43f8803868380566e932412b | [log] [tgz] |
---|---|---|
author | nodir@chromium.org <nodir@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 14 21:22:48 2014 +0000 |
committer | nodir@chromium.org <nodir@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 14 21:22:48 2014 +0000 |
tree | 9052ffc9512a215957adf002223add781f1050e8 | |
parent | 6a9ead263f33da12cb872a5470cc5b860d46222f [diff] |
trychange.py hotfix Should use e.message instead of e.reason, where e is an Exception git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@270473 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/trychange.py b/trychange.py index ac8b8ec..719275a 100755 --- a/trychange.py +++ b/trychange.py
@@ -771,7 +771,7 @@ labels={'Tryjob-Request': 1}) except gerrit_util.GerritError, e: if e.http_status == 400: - raise Error(e.reason) + raise Error(e.message) else: raise