Commit 357a2a48 by Ahsan Ulhaq

Update Enrollment failed message with status code

parent faceaf2f
...@@ -231,8 +231,8 @@ class EnrollmentFulfillmentModule(BaseFulfillmentModule): ...@@ -231,8 +231,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