mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
4b5fed1619
commit
cf5433f945
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user