Rebase and improve logging.

This commit is contained in:
Awais Jibran
2020-04-13 14:13:57 +05:00
parent d3ada8a2ef
commit a2091d06ce

View File

@@ -110,8 +110,8 @@ def send_request_to_ss_for_user(self, user_verification_id, copy_id_photo_from):
Returns:
request.Response
"""
log.info('=>New Verification Task Received')
user_verification = SoftwareSecurePhotoVerification.objects.get(id=user_verification_id)
log.info('=>New Verification Task Received %r', user_verification.user.username)
try:
headers, body = user_verification.create_request(copy_id_photo_from)
response = requests.post(