about summary refs log tree commit homepage
path: root/lib/rainbows/fiber/base.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-12-16 23:57:08 -0800
committerEric Wong <normalperson@yhbt.net>2009-12-16 23:57:08 -0800
commit5dea67ecf3dd868e7b375312cdef2c4651b11437 (patch)
tree106856f38f3e4b8934af0a584345ea09644b4b5e /lib/rainbows/fiber/base.rb
parent52ad3f270e758e5bfdfe965cbecbd20d5048062f (diff)
downloadrainbows-5dea67ecf3dd868e7b375312cdef2c4651b11437.tar.gz
Diffstat (limited to 'lib/rainbows/fiber/base.rb')
-rw-r--r--lib/rainbows/fiber/base.rb2
1 files changed, 1 insertions, 1 deletions
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)