amoghrajesh commented on code in PR #59224:
URL: https://github.com/apache/airflow/pull/59224#discussion_r2629803348
##########
providers/hashicorp/src/airflow/providers/hashicorp/_internal_client/vault_client.py:
##########
@@ -421,7 +421,9 @@ def _parse_secret_path(self, secret_path: str) ->
tuple[str, str]:
if not self.mount_point:
split_secret_path = secret_path.split("/", 1)
if len(split_secret_path) < 2:
- raise InvalidPath
+ raise InvalidPath(
+ "The variable path you have provided is invalid. Please
provide a full path: path/to/secret/variable"
Review Comment:
```suggestion
"The variable path you have provided is invalid. Please
provide a full path of the format: path/to/secret/variable"
```
--
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]