Skip to content

Conversation

@shughes-uk
Copy link
Contributor

Summary

please add a few lines to give the reviewer context on the changes

Checklist

Before formally opening this PR, please adhere to the following standards:

  • Branch/PR names begin with the related Jira ticket id (ie PROD-31) for Jira integration
  • File names are lower_snake_case
  • Relevant unit tests have been added or not applicable
  • Relevant documentation has been added or not applicable
  • Mark yourself as the assignee (makes it easier to scan the PR list)

Related Jira Ticket (add id)

Add any relevant testing examples or screenshots.

Comment on lines +70 to 71
if not self.cached_token.is_access_token_valid:
raise TryAgain()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the code ever reach this block?

Copy link
Contributor Author

@shughes-uk shughes-uk Nov 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure after a status code not in the "retry status codes" list. It'll retry anyway 🤷‍♀️ . Basically the same as current behavior.

@shughes-uk shughes-uk merged commit b6b7085 into main Nov 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants