Skip to content

Commit

Permalink
Update Exception.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Oct 3, 2024
1 parent 261923e commit 5637bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner/PlutoRunner/src/display/Exception.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function format_output(val::CapturedException; context=default_iocontext)
pretty = map(stack_relevant) do s
method = method_from_frame(s)
sp = source_package(method)
pm = method isa Method ? parentmodule(method) : nothing
pm = VERSION >= v"1.9" && method isa Method ? parentmodule(method) : nothing

Dict(
:call => pretty_stackcall(s, s.linfo),
Expand Down

0 comments on commit 5637bfc

Please sign in to comment.