Skip to content

Commit

Permalink
log message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlm committed Oct 17, 2023
1 parent 435ba3d commit 75f46cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions botocore/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,9 +799,8 @@ def _resolve_account_id(self, response):
try:
account_id = self._arn_parser.parse_arn(user_arn)['account']
except InvalidArnException:
logger.debug(
'Unable to parse account ID from ARN: %s', user_arn
)
log_msg = 'Unable to parse account ID from ARN: %s'
logger.debug(log_msg, user_arn)
else:
response['Credentials']['AccountId'] = account_id

Expand Down

0 comments on commit 75f46cf

Please sign in to comment.