Skip to content

Commit

Permalink
remove sentinel object
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Oct 1, 2022
1 parent 8f3237e commit abea47e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ def create_template(request, wrapper)
DebugView.new(
request: request,
exception_wrapper: wrapper,
exception: BasicObject.new,
# Everything should use the wrapper, but we need to pass
# `exception` for legacy code.
exception: wrapper.exception,
traces: wrapper.traces,
show_source_idx: wrapper.source_to_show_id,
trace_to_show: wrapper.trace_to_show,
Expand Down

0 comments on commit abea47e

Please sign in to comment.