Skip to content

Commit

Permalink
Remove global error handling for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemanrubia committed Dec 4, 2024
1 parent e221f2c commit 36ef4d4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/hotwire_spark/websockets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ def open(env)

def broadcast(message)
connections.each do |connection|
begin
connection.send(message)
rescue StandardError => e
connections.delete(connection)
end
connection.send(message)
end
end

Expand Down

0 comments on commit 36ef4d4

Please sign in to comment.