mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
Hide errors until builder succeeds.
Change-Id: Ifb40e4931c1b0a1d32051d1d4851bca572ef3acf BUG=7649 TEST=Ran it with fake urls Review URL: http://codereview.chromium.org/3678004
This commit is contained in:
parent
4bec3be90b
commit
e695541bc6
@ -10,6 +10,7 @@ import fileinput
|
||||
import optparse
|
||||
import os
|
||||
import sys
|
||||
import traceback
|
||||
import urllib
|
||||
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '../lib'))
|
||||
@ -212,4 +213,9 @@ def main():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
main()
|
||||
except Exception:
|
||||
print "Got exception."
|
||||
traceback.print_exc(file=sys.stdout)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user