potiuk commented on code in PR #38489:
URL: https://github.com/apache/airflow/pull/38489#discussion_r1539720688
##########
scripts/ci/pre_commit/pre_commit_insert_extras.py:
##########
@@ -81,7 +81,7 @@ def process_documentation_files() -> bool:
extra_type_dict = get_extra_types_dict()
for file, file_format, add_comment in FILES_TO_UPDATE:
if not file.exists():
- raise Exception(f"File {file} does not exist")
+ raise FileNotFoundError(f"File {file} does not exist")
Review Comment:
This looks fine. @uranusjr ?
--
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]