aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/project-clang-format.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-03 11:26:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-03 11:26:11 +0300
commit73f3bbe836fff38b9922b9ec535045253f7753ac (patch)
tree64f432d185a2207dcec2de704b0678959d853be7 /tools/project-clang-format.py
parentproject.utils: fix the retry decorator (diff)
downloadcmake-common-73f3bbe836fff38b9922b9ec535045253f7753ac.tar.gz
cmake-common-73f3bbe836fff38b9922b9ec535045253f7753ac.zip
project.utils: don't print fatal exception twice
Diffstat (limited to 'tools/project-clang-format.py')
-rwxr-xr-xtools/project-clang-format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/project-clang-format.py b/tools/project-clang-format.py
index c8fde49..08d5987 100755
--- a/tools/project-clang-format.py
+++ b/tools/project-clang-format.py
@@ -31,7 +31,7 @@ def setup_logging():
yield
except Exception as e:
logging.exception(e)
- raise
+ sys.exit(1)
@contextmanager