Skip to content

Commit

Permalink
Catch everything, not just ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Oct 19, 2023
1 parent 13646fa commit 96917f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinecone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

try:
from .core.grpc.index_grpc import *
except ImportError:
except Exception:
pass # ignore for non-[grpc] installations

# Kept for backwards-compatibility
Expand Down

0 comments on commit 96917f8

Please sign in to comment.