Skip to content

Commit

Permalink
fix: add missing request param
Browse files Browse the repository at this point in the history
  • Loading branch information
nsprenkle committed Jun 24, 2024
1 parent a3571ea commit 6b2f69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/views/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,7 @@ def render_xblock(request, usage_key_string, check_if_enrolled=True, disable_sta
)
except RenderXBlockStarted.PreventXBlockBlockRender as exc:
log.info("Halted rendering block %s. Reason: %s", usage_key_string, exc.message)
return render_500()
return render_500(request)
except RenderXBlockStarted.RenderCustomResponse as exc:
log.info("Rendering custom exception for block %s. Reason: %s", usage_key_string, exc.message)
context.update({
Expand Down

0 comments on commit 6b2f69f

Please sign in to comment.