dv-gorasiya commented on code in PR #61654:
URL: https://github.com/apache/airflow/pull/61654#discussion_r2818429691
##########
providers/google/src/airflow/providers/google/cloud/secrets/secret_manager.py:
##########
@@ -136,6 +136,13 @@ def __init__(
if project_id:
self.project_id = project_id
+ if not self.project_id:
+ raise AirflowException(
+ "Project ID could not be determined. "
+ "Please provide 'project_id' in backend configuration or
ensure "
+ "your credentials include a default project."
+ )
Review Comment:
Got it, Done. It has been updated to ValueError with a match parameter.
Thanks.
--
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]