Skip to content

Commit

Permalink
updated key
Browse files Browse the repository at this point in the history
  • Loading branch information
rehan99000 committed Feb 25, 2021
1 parent 2484cdf commit 71995b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ecommerce/extensions/fulfillment/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,7 @@ def fulfill_product(self, order, lines, email_opt_in=False):
else:
try:
data = response.json()
logger.info(data)
reason = data.get('developer_message')
reason = data.get('detail')
except Exception: # pylint: disable=broad-except
reason = '(No detail provided.)'

Expand Down

0 comments on commit 71995b8

Please sign in to comment.