Exit instead of raising an unexpected exception, since it's already logged.
This commit is contained in:
@@ -28,7 +28,7 @@ def main(args=sys.argv[1:]):
|
|||||||
raise SystemExit(1)
|
raise SystemExit(1)
|
||||||
except:
|
except:
|
||||||
logging.error(traceback.format_exc())
|
logging.error(traceback.format_exc())
|
||||||
raise
|
raise SystemExit(2)
|
||||||
|
|
||||||
|
|
||||||
# Top-level flow:
|
# Top-level flow:
|
||||||
|
|||||||
Reference in New Issue
Block a user