Skip to content

Commit 191fde0

Browse files
committed
Skip FileNotFoundError
1 parent 5eb1f83 commit 191fde0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

find_gcp_keys/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def is_valid_key(file_path: str):
5757
)
5858
credentials.refresh(google.auth.transport.requests.Request())
5959
return True
60-
except (AttributeError, ValueError, google.auth.exceptions.RefreshError):
60+
except (AttributeError, FileNotFoundError, ValueError, google.auth.exceptions.RefreshError):
6161
return False
6262

6363

0 commit comments

Comments
 (0)