lib/angelo/responder/websocket.rb in angelo-0.1.7 vs lib/angelo/responder/websocket.rb in angelo-0.1.8
- old
+ new
@@ -40,10 +40,10 @@
rescue => e
error e.message
::STDERR.puts e.backtrace
begin
@connection.close
- rescue Reel::Connection::StateError => rcse
+ rescue Reel::StateError => rcse
close_websocket
end
end
end