Skip to content

Commit

Permalink
Tweak phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
TrishGillett committed Aug 6, 2024
1 parent 54f63f2 commit 4d49dd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tap_github/authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def is_valid_token(self) -> bool:
return True
except requests.exceptions.HTTPError:
msg = (
f"A token was found to be invalid. "
f"A token could not be validated. "
f"{response.status_code} Client Error: "
f"{str(response.content)} (Reason: {response.reason})"
)
Expand Down Expand Up @@ -243,6 +243,8 @@ def prepare_tokens(self) -> List[TokenManager]:
)
if token_manager.is_valid_token():
token_managers.append(token_manager)
else:
logging.warn('A token was dismissed.')

# Parse App level private key and generate a token
if "GITHUB_APP_PRIVATE_KEY" in env_dict.keys():
Expand Down

0 comments on commit 4d49dd0

Please sign in to comment.