Skip to content

Commit a61af1c

Browse files
committed
Use rethrow() instead of throw(ex)
Slightly more idiomatic.
1 parent befdd4d commit a61af1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/sch/Sch.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ function cleanup_proc(state, p, log_sink)
415415
# We allow ProcessExitedException's, which means that the worker
416416
# shutdown halfway through cleanup.
417417
if !(ex isa ProcessExitedException)
418-
throw(ex)
418+
rethrow()
419419
end
420420
end
421421
end

0 commit comments

Comments
 (0)