Handle any exception
This commit is contained in:
parent
ff7b20b0dc
commit
7309b8416c
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ def handle_webhook(request):
|
||||||
)
|
)
|
||||||
incomplete_pm.save()
|
incomplete_pm.save()
|
||||||
except (IncompletePaymentIntents.DoesNotExist,
|
except (IncompletePaymentIntents.DoesNotExist,
|
||||||
IncompletePaymentIntents.MultipleObjectsReturned) as ex:
|
IncompletePaymentIntents.MultipleObjectsReturned,
|
||||||
|
Exception) as ex:
|
||||||
logger.error(str(ex))
|
logger.error(str(ex))
|
||||||
logger.debug(str(ex))
|
logger.debug(str(ex))
|
||||||
email_data = {
|
email_data = {
|
||||||
|
|
Loading…
Reference in a new issue