Skip to content

Commit

Permalink
Logged request_body on verification failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thenewguy authored Sep 14, 2021
1 parent 773a581 commit 380cb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_bouncy/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def endpoint(request):
# Verify that the notification is signed by Amazon
if (getattr(settings, 'BOUNCY_VERIFY_CERTIFICATE', True)
and not verify_notification(data)):
logger.error('Verification Failure %s', )
logger.error('Verification Failure %s', request_body)
return HttpResponseBadRequest('Improper Signature')

# Send a signal to say a valid notification has been received
Expand Down

0 comments on commit 380cb38

Please sign in to comment.