From 3b26b94fd375f8acf091c3f335d2be30f454b7ab Mon Sep 17 00:00:00 2001 From: PCoder Date: Mon, 15 Apr 2019 22:27:11 +0200 Subject: [PATCH] Add logger message --- webhook/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webhook/views.py b/webhook/views.py index 8b8a65b0..8a2bb712 100644 --- a/webhook/views.py +++ b/webhook/views.py @@ -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":