Log unhandled case

This commit is contained in:
PCoder 2019-04-14 00:59:25 +02:00
parent 8a59c2da1e
commit 0ed3c84461

View file

@ -103,5 +103,7 @@ def handle_invoice_webhook(request):
["%s=%s" % (k, v) for (k, v) in invoice.__dict__.items()]),
}
send_plain_email_task.delay(email_to_admin_data)
else:
logger.error("Unhandled event : " + event.type)
return HttpResponse(status=200)