Skip to content

Commit

Permalink
feat: adds final price to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tecoholic authored and Agrendalath committed Jul 19, 2023
1 parent 0bc2b54 commit fd9e9e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion enterprise/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2343,7 +2343,8 @@ def hide_price_when_zero(enterprise_customer, course_modes):
mode['hide_price'] = int(''.join(numbers)) == 0
except ValueError:
LOGGER.warning(
'hide_price_when_zero: Could not convert price of course mode "%s" to int.',
'hide_price_when_zero: Could not convert price "%s" of course mode "%s" to int.',
mode['final_price'],
mode['title']
)
return course_modes

0 comments on commit fd9e9e9

Please sign in to comment.