Skip to content

Commit

Permalink
fix use of rethrow outside catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Dec 17, 2018
1 parent f79c735 commit 2e6c601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scheduler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function compute_dag(ctx, d::Thunk)

proc, thunk_id, res = take!(chan)
if isa(res, CapturedException) || isa(res, RemoteException)
rethrow(res)
throw(res)
end
node = state.thunk_dict[thunk_id]
@logmsg("WORKER $(proc.pid) - $node ($(node.f)) input:$(node.inputs)")
Expand Down

0 comments on commit 2e6c601

Please sign in to comment.