lib/angelo/base.rb in angelo-0.1.17 vs lib/angelo/base.rb in angelo-0.1.18

- old
+ new

@@ -186,10 +186,11 @@ task :handle_websocket do |ws| begin while !ws.closed? do ws.read end - rescue IOError + rescue Reel::SocketError, IOError, SystemCallError => e + debug e.message websockets.remove_socket ws end end task :ping_websockets do