Skip to content

Commit

Permalink
Update src/exception_summary.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
msagarpatel authored Dec 28, 2023
1 parent bd720cf commit 84c9312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exception_summary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function _summarize_exception(io::IO, exc, stack; prefix = nothing)
# frame. (Julia skips frames from the C runtime when printing backtraces.)
# A report was received about an error where bt was not defined. Band-aid by
# initializing it as an empty vector. It's not understood why there was no backtrace.
local bt = []
bt = []
for i in eachindex(stack)
bt = Base.process_backtrace(stack[i:i])
if !isempty(bt)
Expand Down

0 comments on commit 84c9312

Please sign in to comment.