You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
When a PR is opened but has no description (like rust-lang/rust#56989), highfive crashes before assigning a reviewer or commenting.
Traceback (most recent call last):
File "/home/ec2-user/highfive/highfive/newpr.py", line 433, in <module>
handler.run()
File "/home/ec2-user/highfive/highfive/newpr.py", line 71, in run
self.new_pr()
File "/home/ec2-user/highfive/highfive/newpr.py", line 359, in new_pr
reviewer = self.find_reviewer(msg)
File "/home/ec2-user/highfive/highfive/newpr.py", line 238, in find_reviewer
match = reviewer_re.search(msg)
TypeError: expected string or buffer
This is caused by GitHub setting the body to null instead of an empty string where there is no PR description:
When a PR is opened but has no description (like rust-lang/rust#56989), highfive crashes before assigning a reviewer or commenting.
This is caused by GitHub setting the body to
null
instead of an empty string where there is no PR description:The text was updated successfully, but these errors were encountered: