Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions src/Revise.jl
Original file line number Diff line number Diff line change
Expand Up @@ -495,15 +495,23 @@ function revise(backend::REPL.REPLBackend)
try
revise_file_now(pkgdata, file)
catch err
put!(backend.response_channel, (err, catch_backtrace()))
@static if VERSION >= v"1.2.0-DEV.253"
put!(backend.response_channel, (Base.catch_stack(), true))
else
put!(backend.response_channel, (err, catch_backtrace()))
end
end
end
empty!(revision_queue)
if tracking_Main_includes[]
try
queue_includes(Main)
catch err
put!(backend.response_channel, (err, catch_backtrace()))
@static if VERSION >= v"1.2.0-DEV.253"
put!(backend.response_channel, (Base.catch_stack(), true))
else
put!(backend.response_channel, (err, catch_backtrace()))
end
end
end
return nothing
Expand Down
6 changes: 5 additions & 1 deletion src/pkgs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,11 @@ function watch_manifest(mfile)
end
end
catch err
put!(Base.active_repl_backend.response_channel, (err, catch_backtrace()))
@static if VERSION >= v"1.2.0-DEV.253"
put!(Base.active_repl_backend.response_channel, (Base.catch_stack(), true))
else
put!(Base.active_repl_backend.response_channel, (err, catch_backtrace()))
end
end
return true
end