def METHOD_NAME(environment, context):
    try:
        client = SlackClient(environment)
    except SlackException:
        return
    try:
        client.send_deploy_start_message(context)
    except SlackException as e:
        puts(color_warning(f"Error sending Slack notification: {e}"))