Skip to content

Commit

Permalink
Substitute google error for warning (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmugicagonz authored Dec 23, 2024
1 parent 8afc395 commit 797253d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ def with_vertex(
location = location
_gac = os.environ.get("GOOGLE_APPLICATION_CREDENTIALS")
if _gac is None:
raise ValueError(
"`GOOGLE_APPLICATION_CREDENTIALS` environment variable is not set. please set it to the path of the service account key file."
logger.warning(
"`GOOGLE_APPLICATION_CREDENTIALS` environment variable is not set. please set it to the path of the service account key file. Otherwise, use any of the other Google Cloud auth methods."
)

try:
Expand Down

0 comments on commit 797253d

Please sign in to comment.