Skip to content

Commit

Permalink
use exception stack
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Oct 8, 2024
1 parent baf9cbe commit a921ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/REPL/src/LineEdit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ function check_for_hint(s::MIState)

completions, partial, should_complete = try
complete_line(st.p.complete, st, s.active_module; hint = true)::Tuple{Vector{String},String,Bool}
catch e
@debug "error completing line for hint" e=e,catch_backtrace()
catch
@debug "error completing line for hint" exception=current_exceptions()
return clear_hint(st)
end
isempty(completions) && return clear_hint(st)
Expand Down

0 comments on commit a921ad5

Please sign in to comment.