From 5dea67ecf3dd868e7b375312cdef2c4651b11437 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 16 Dec 2009 23:57:08 -0800 Subject: cleanup: consolidate write_nonblock error handling --- lib/rainbows/fiber/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/fiber/base.rb') diff --git a/lib/rainbows/fiber/base.rb b/lib/rainbows/fiber/base.rb index 995b4af..1617c54 100644 --- a/lib/rainbows/fiber/base.rb +++ b/lib/rainbows/fiber/base.rb @@ -99,7 +99,7 @@ module Rainbows HttpResponse.write(client, response, out) end while alive and hp.reset.nil? and env.clear rescue => e - handle_error(io, e) + Error.write(io, e) ensure G.cur -= 1 RD.delete(client) -- cgit v1.2.3-24-ge0c7