Skip to content

Conversation

zkoppert
Copy link
Member

Pull Request

fixes #322

Proposed Changes

This pull request changes the get_time_to_ready_for_review function in the time_to_ready_for_review.py file. The change introduces error handling to deal with potential TypeError exceptions that might occur when processing review events. If such an error occurs, a message is printed to inform the user that the issue might contain a ghost user, and None is returned.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run make lint and fix any issues that you have introduced
  • run make test and ensure you have test coverage for the lines you are introducing
  • If publishing new data to the public (scorecards, security scan results, code quality results, live dashboards, etc.), please request review from @jeffrey-luszcz

Reviewer

  • Label as either fix, documentation, enhancement, infrastructure, maintenance, or breaking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: 'NoneType' object is not subscriptable

2 participants