potiuk commented on code in PR #38489:
URL: https://github.com/apache/airflow/pull/38489#discussion_r1539710886
##########
docs/exts/operators_and_hooks_ref.py:
##########
@@ -69,10 +69,10 @@ def _render_template(template_name, **kwargs):
def _docs_path(filepath: str):
if not filepath.startswith("/docs/"):
- raise Exception(f"The path must starts with '/docs/'. Current value:
{filepath}")
+ raise ValueError(f"The path must starts with '/docs/'. Current value:
{filepath}")
Review Comment:
RuntimeError
--
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]