Log unhandled case
This commit is contained in:
parent
8a59c2da1e
commit
0ed3c84461
1 changed files with 2 additions and 0 deletions
|
@ -103,5 +103,7 @@ def handle_invoice_webhook(request):
|
||||||
["%s=%s" % (k, v) for (k, v) in invoice.__dict__.items()]),
|
["%s=%s" % (k, v) for (k, v) in invoice.__dict__.items()]),
|
||||||
}
|
}
|
||||||
send_plain_email_task.delay(email_to_admin_data)
|
send_plain_email_task.delay(email_to_admin_data)
|
||||||
|
else:
|
||||||
|
logger.error("Unhandled event : " + event.type)
|
||||||
|
|
||||||
return HttpResponse(status=200)
|
return HttpResponse(status=200)
|
Loading…
Reference in a new issue