diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-03 11:26:11 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-03 11:26:11 +0300 |
commit | 73f3bbe836fff38b9922b9ec535045253f7753ac (patch) | |
tree | 64f432d185a2207dcec2de704b0678959d853be7 /project/utils.py | |
parent | project.utils: fix the retry decorator (diff) | |
download | cmake-common-73f3bbe836fff38b9922b9ec535045253f7753ac.tar.gz cmake-common-73f3bbe836fff38b9922b9ec535045253f7753ac.zip |
project.utils: don't print fatal exception twice
Diffstat (limited to 'project/utils.py')
-rw-r--r-- | project/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/utils.py b/project/utils.py index 06fff27..711db97 100644 --- a/project/utils.py +++ b/project/utils.py @@ -34,7 +34,7 @@ def setup_logging(): yield except Exception as e: logging.exception(e) - raise + sys.exit(1) @contextmanager |