diff --git a/scripts/ci_check_code.sh b/scripts/ci_check_code.sh
index c7ab192e6fd022456de8743a64230868163dffad..9177da920fc2f4e02c5c945a3d68c7f2d281ece0 100755
--- a/scripts/ci_check_code.sh
+++ b/scripts/ci_check_code.sh
@@ -1,4 +1,4 @@
-#! /bin/bash -x
+#! /bin/bash -ex
 
 PYTHON_VERSION=${PYTHON_VERSION:-"3.8"}