bug 486992: post_upload.py errors aren't caught - use sys.exit(non-zero) when exceptions are caught in upload.py. r=ted

This commit is contained in:
Ben Hearsum 2009-04-20 12:42:58 -04:00
parent 4b5fed1619
commit cf5433f945

View File

@ -224,5 +224,7 @@ if __name__ == '__main__':
verbose=True)
except IOError, (strerror):
print strerror
sys.exit(1)
except Exception, (err):
print err
sys.exit(2)