Merge pull request #21090 from edx/zaid-prod-449

Added logs for XQueue Information
This commit is contained in:
Muhammad Zaid Bamber
2019-07-15 18:12:10 +05:00
committed by GitHub

View File

@@ -102,6 +102,8 @@ class XQueueInterface(object):
if error != 0:
# when the login fails
log.debug("Failed to login to queue: %s", content)
log.info(u"Login failed content information : {content} with error: {error}".format(
content=content, error=error))
return (error, content)
if files_to_upload is not None:
# Need to rewind file pointers