aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--project/utils.py2
-rwxr-xr-xtools/project-clang-format.py2
2 files changed, 2 insertions, 2 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
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