Skip to content

Commit

Permalink
fix the issue comment bot mypy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RayBB committed Nov 27, 2024
1 parent 6b3db69 commit 97ea3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gh_scripts/issue_comment_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def post_message(payload: dict[str, str]):

if response.status_code != 200:
print(f'Failed to send message to Slack. Status code: {response.status_code}')
sys.exit(errno.ECOMM)
sys.exit(errno.EPIPE)

d = response.json()
if not d.get('ok', True):
Expand Down

0 comments on commit 97ea3c1

Please sign in to comment.