Taragolis commented on code in PR #38489:
URL: https://github.com/apache/airflow/pull/38489#discussion_r1542062637


##########
scripts/ci/pre_commit/pre_commit_json_schema.py:
##########
@@ -30,7 +30,7 @@
 from jsonschema.validators import extend, validator_for
 
 if __name__ != "__main__":
-    raise Exception(
+    raise RuntimeError(

Review Comment:
   We could replace it by `SystemExit`, there is no problem to do it now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to