lib/propono/services/publisher.rb in propono-0.6.1 vs lib/propono/services/publisher.rb in propono-0.6.3

- old
+ new

@@ -33,10 +33,10 @@ end def publish_via_udp payload = {topic: topic_id, message: message}.to_json UDPSocket.new.send(payload, 0, Propono.config.udp_host, Propono.config.udp_port) - rescue SocketError => e + rescue => e Propono.config.logger.error "Propono failed to send : #{e}" end end end