fix: Catch ImportErrors for Google SDKs (#25550)

(cherry picked from commit effd73f2cc)
This commit is contained in:
Pieter Ennes
2024-01-20 00:00:43 +01:00
committed by Michael S. Molina
parent 9ccb6445ee
commit b45f719c2b

View File

@@ -52,7 +52,7 @@ try:
from google.oauth2 import service_account
dependencies_installed = True
except ModuleNotFoundError:
except ImportError:
dependencies_installed = False
try: