Skip to content

Commit

Permalink
Merge pull request #70 from edly-io/rehan/juniper-testing-fixes
Browse files Browse the repository at this point in the history
Update error message key
  • Loading branch information
rehan99000 authored Mar 3, 2021
2 parents d8307e6 + 71995b8 commit 2b0be9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/extensions/fulfillment/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def fulfill_product(self, order, lines, email_opt_in=False):
else:
try:
data = response.json()
reason = data.get('message')
reason = data.get('detail')
except Exception: # pylint: disable=broad-except
reason = '(No detail provided.)'

Expand Down

0 comments on commit 2b0be9f

Please sign in to comment.