Skip to content

Commit 2ea7f38

Browse files
committed
fixup! debug
1 parent 68482e6 commit 2ea7f38

File tree

3 files changed

+1913
-1909
lines changed

3 files changed

+1913
-1909
lines changed

src/process_messages.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,11 @@ function handle_msg(msg::CallWaitMsg, header, r_stream, w_stream, version)
307307
end
308308

309309
function handle_msg(msg::RemoteDoMsg, header, r_stream, w_stream, version)
310-
errormonitor(@async run_work_thunk(()->invokelatest(msg.f, msg.args...; msg.kwargs...), true))
310+
errormonitor(@async try
311+
run_work_thunk(()->invokelatest(msg.f, msg.args...; msg.kwargs...), true)
312+
catch ex
313+
@error "Caught exception" exception=ex
314+
end)
311315
end
312316

313317
function handle_msg(msg::ResultMsg, header, r_stream, w_stream, version)

0 commit comments

Comments
 (0)