diff --git a/scripts/gh_scripts/issue_comment_bot.py b/scripts/gh_scripts/issue_comment_bot.py index 575e9f1b69a..8bb4de45ce1 100755 --- a/scripts/gh_scripts/issue_comment_bot.py +++ b/scripts/gh_scripts/issue_comment_bot.py @@ -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):