Just log IncompleteSubscription does not exist error
Do not compare with db and send admin error message
This commit is contained in:
parent
9b84461a29
commit
e7462289f6
1 changed files with 3 additions and 2 deletions
|
@ -197,8 +197,9 @@ def handle_webhook(request):
|
|||
billing_address_data=billing_address_data,
|
||||
real_request=None
|
||||
)
|
||||
except (IncompleteSubscriptions.DoesNotExist,
|
||||
IncompleteSubscriptions.MultipleObjectsReturned) as ex:
|
||||
except IncompleteSubscriptions.DoesNotExist as ex:
|
||||
logger.error(str(ex))
|
||||
except IncompleteSubscriptions.MultipleObjectsReturned as ex:
|
||||
logger.error(str(ex))
|
||||
email_data = {
|
||||
'subject': "IncompleteSubscriptions error",
|
||||
|
|
Loading…
Reference in a new issue