Add logger message

This commit is contained in:
PCoder 2019-04-15 22:27:11 +02:00
parent eb360c7406
commit 3b26b94fd3

View file

@ -100,6 +100,8 @@ def handle_invoice_webhook(request):
'body': "\n".join(
["%s=%s" % (k, v) for (k, v) in invoice_dict.items()]),
}
logger.debug("Sending msg %s to %s" % (admin_msg_sub,
settings.WEBHOOK_EMAIL_TO))
send_plain_email_task.delay(email_to_admin_data)
elif event.type == "invoice.payment_failed":