Index: presubmit_canned_checks.py |
=================================================================== |
--- presubmit_canned_checks.py (revision 119726) |
+++ presubmit_canned_checks.py (working copy) |
@@ -458,8 +458,9 @@ |
long_text = status + '\n' + url |
return [output_api.PresubmitError('The tree is closed.', |
long_text=long_text)] |
- except IOError: |
- pass |
+ except IOError as e: |
+ return [output_api.PresubmitError('Error fetching tree status.', |
+ long_text=str(e))] |
return [] |