Skip to content

Commit 969e21d

Browse files
committed
Don't emit unhandled exception log.
1 parent 64bda27 commit 969e21d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/async/task.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -717,13 +717,11 @@ def sleep_forever
717717
it "will propagate exceptions after async operation" do
718718
error_task = innocent_task = nil
719719

720-
error_task = reactor.async do |task|
721-
task.yield
722-
720+
error_task = reactor.async(finished: false) do |task|
723721
raise "boom"
724722
end
725723

726-
innocent_task = reactor.async do |task|
724+
innocent_task = reactor.async(finished: false) do |task|
727725
error_task.wait
728726
end
729727

0 commit comments

Comments
 (0)