From 8987bb47593698bf819ffc40ac3de2953d16168c Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 29 Oct 2009 13:37:30 +0000 Subject: [PATCH] Hide SystemError, otherwise logging gets ugly. Signed-off-by: Chris Lamb --- dak/dak.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dak/dak.py b/dak/dak.py index 0d92c7d9..19facc55 100755 --- a/dak/dak.py +++ b/dak/dak.py @@ -202,6 +202,8 @@ def main(): print msg logger.log([msg]) sys.exit(1) + except SystemExit: + pass except: for line in traceback.format_exc().split('\n')[:-1]: logger.log(['exception', line]) -- 2.39.5