We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e17ebf commit 1310d7eCopy full SHA for 1310d7e
scripts/release_helper/common.py
@@ -300,9 +300,12 @@ def new_comment_policy(self):
300
comments = [(comment.updated_at.timestamp(), comment.user.login) for comment in
301
self.issue_package.issue.get_comments()]
302
comments.sort()
303
- latest_comments = comments[-1][1]
304
- if latest_comments not in self.language_owner:
305
- self.bot_advice.append('new comment.')
+ try:
+ latest_comments = comments[-1][1]
+ if latest_comments not in self.language_owner:
306
+ self.bot_advice.append('new comment.')
307
+ except Exception:
308
+ self.log('Error happened when getting latest comment.')
309
310
def multi_link_policy(self):
311
if self.has_label(MULTI_LINK_LABEL):
0 commit comments