remove sentinel object

This commit is contained in:
Aaron Patterson 2022-10-01 15:43:43 -07:00
parent 650e99ac5b
commit c4c72ad0bb
No known key found for this signature in database
GPG Key ID: 953170BCB4FFAFC6

@ -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,