about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/rainbows/rev.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/rev.rb b/lib/rainbows/rev.rb
index 257c686..d27538c 100644
--- a/lib/rainbows/rev.rb
+++ b/lib/rainbows/rev.rb
@@ -172,7 +172,7 @@ module Rainbows
         return if G.cur >= G.max
         begin
           Client.new(@_io.accept_nonblock).attach(::Rev::Loop.default)
-        rescue Errno::EAGAIN, Errno::ECONNBORTED
+        rescue Errno::EAGAIN, Errno::ECONNABORTED
         end
       end