From 0e2c9083c8297e5335deba5a09776b89fcb86e8b Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Mon, 20 Apr 2009 12:42:58 -0400 Subject: [PATCH] bug 486992: post_upload.py errors aren't caught - use sys.exit(non-zero) when exceptions are caught in upload.py. r=ted --- build/upload.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/upload.py b/build/upload.py index 7ea9c740b7f..864cb7b3479 100644 --- a/build/upload.py +++ b/build/upload.py @@ -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)