Skip to content

Commit

Permalink
fix: logging emission of REFUND_ORDER
Browse files Browse the repository at this point in the history
  • Loading branch information
grmartin committed May 17, 2024
1 parent a9b14e8 commit 20c8fc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/djangoapps/student/views/management.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def change_enrollment(request, check_access=True):
except UnenrollmentNotAllowed as exc:
return HttpResponseBadRequest(str(exc))

log.info("User %s unenrolled from %s; sending REFUND_ORDER", user.username, course_id)
REFUND_ORDER.send(sender=None, course_enrollment=enrollment)
return HttpResponse()
else:
Expand Down

0 comments on commit 20c8fc1

Please sign in to comment.