Skip to content

Commit

Permalink
Skip FileNotFoundError
Browse files Browse the repository at this point in the history
  • Loading branch information
dinvlad committed Oct 14, 2020
1 parent 5eb1f83 commit 191fde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find_gcp_keys/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def is_valid_key(file_path: str):
)
credentials.refresh(google.auth.transport.requests.Request())
return True
except (AttributeError, ValueError, google.auth.exceptions.RefreshError):
except (AttributeError, FileNotFoundError, ValueError, google.auth.exceptions.RefreshError):
return False


Expand Down

0 comments on commit 191fde0

Please sign in to comment.