Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
MNT: turn off some msg for slack, but keep them at log
Browse files Browse the repository at this point in the history
  • Loading branch information
licode committed Sep 12, 2016
1 parent a859c69 commit be87436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def run_build(metas, username, token=None, upload=True, allow_failures=False):
'\n\n========== STDERR ==========\n'
'\n{}'.format(pformat(stdout), pformat(stderr)))
logger.error(message)
message_slack(message, username, is_error=True)
#message_slack(message, username, is_error=True)
if not allow_failures:
sys.exit(1)
if token and upload:
Expand All @@ -471,7 +471,7 @@ def run_build(metas, username, token=None, upload=True, allow_failures=False):
'\n\n========== STDERR ==========\n'
'\n{}'.format(pformat(stdout), pformat(stderr)))
logger.error(message)
message_slack(message, username, is_error=True)
#message_slack(message, username, is_error=True)
upload_failed.append(build_name)
continue
message_slack("Built and Uploaded {}".format(build_name), username)
Expand Down

0 comments on commit be87436

Please sign in to comment.