todo

def send_msg_to_webhook(
            self,
            json_payload,
            log_msg
    ):
        """todo"""
        if SILENCE_OVERRIDE:
            return

        params = {**json_payload, 'message': log_msg}
        headers = {'Content-Type': 'application/json'}

        try:
            req = requests.post(
                self.webhook_url,
                headers=headers,
                json=params
            )
            req.raise_for_status()
        except Exception as error_msg:
            warning_msg = (
                'EXCEPTION: UNABLE TO COMMIT LOG MESSAGE' +
                '\n\texception={0}'.format(repr(error_msg)) +
                '\n\tmessage={0}'.format(log_msg)
            )
            warnings.warn(
                warning_msg,
                exceptions.WebhookFailedEmitWarning
            )