Skip to content

[release helper] fix crash when comment is deleted#40639

Merged
msyyc merged 1 commit intomainfrom
release-helper-fix-2025-04-22
Apr 22, 2025
Merged

[release helper] fix crash when comment is deleted#40639
msyyc merged 1 commit intomainfrom
release-helper-fix-2025-04-22

Conversation

@msyyc
Copy link
Member

@msyyc msyyc commented Apr 22, 2025

No description provided.

Copilot AI review requested due to automatic review settings April 22, 2025 05:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to fix a crash when a comment is deleted by introducing error handling in the comment retrieval logic.

  • Added a try/except block around the logic that retrieves the latest comment.
  • Logs an error message if an exception occurs during comment retrieval.

@msyyc
Copy link
Member Author

msyyc commented Apr 22, 2025

/check-enforcer override

@msyyc msyyc merged commit 1310d7e into main Apr 22, 2025
18 of 20 checks passed
@msyyc msyyc deleted the release-helper-fix-2025-04-22 branch April 22, 2025 06:08
cRui861 pushed a commit that referenced this pull request May 14, 2025
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