Commit fdd41a6a by Ahsan Ulhaq Committed by GitHub

Merge pull request #1000 from edx/ahsan/ECOM-4763-enrollment-request-fail-log-message-new

Re-revert enrollment request fail log message
parents 5a3c38fc 49e18a11
...@@ -232,8 +232,8 @@ class EnrollmentFulfillmentModule(BaseFulfillmentModule): ...@@ -232,8 +232,8 @@ class EnrollmentFulfillmentModule(BaseFulfillmentModule):
reason = '(No detail provided.)' reason = '(No detail provided.)'
logger.error( logger.error(
"Unable to fulfill line [%d] of order [%s] due to a server-side error: %s", line.id, "Fulfillment of line [%d] on order [%s] failed with status code [%d]: %s",
order.number, reason line.id, order.number, response.status_code, reason
) )
line.set_status(LINE.FULFILLMENT_SERVER_ERROR) line.set_status(LINE.FULFILLMENT_SERVER_ERROR)
except ConnectionError: except ConnectionError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment