diff --git a/ruby/server/lib/roma/event/handler.rb b/ruby/server/lib/roma/event/handler.rb
index <HASH>..<HASH> 100644
--- a/ruby/server/lib/roma/event/handler.rb
+++ b/ruby/server/lib/roma/event/handler.rb
@@ -88,6 +88,8 @@ module Roma
         @connected = true
         @last_access = Time.now
         @fiber = Fiber.new { dispatcher }
+      rescue Exception =>e
+        @log.error("#{__FILE__}:#{__LINE__}:#{e.inspect} #{$@}")
       end
 
       def receive_data(data)
added a rescue block in a post_init method