Skip to content

Commit

Permalink
fix: Catch ImportErrors for Google SDKs (#25550)
Browse files Browse the repository at this point in the history
(cherry picked from commit effd73f)
  • Loading branch information
skion authored and michael-s-molina committed Jan 25, 2024
1 parent 8fa8ae6 commit 224c3a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/db_engine_specs/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from google.oauth2 import service_account

dependencies_installed = True
except ModuleNotFoundError:
except ImportError:
dependencies_installed = False

try:
Expand Down

0 comments on commit 224c3a1

Please sign in to comment.