lib/vines/cluster/subscriber.rb in vines-0.4.1 vs lib/vines/cluster/subscriber.rb in vines-0.4.2
- old
+ new
@@ -50,10 +50,10 @@
doc = JSON.parse(message)
case channel
when ALL then to_all(doc)
when @channel then to_node(doc)
end
- rescue Exception => e
+ rescue => e
log.error("Cluster subscription message failed: #{e}")
end
# Process a message sent to the nodes:all broadcast channel. In the case
# of node heartbeats, we update the last time we heard from this node so