lib/minitest/queue/statsd.rb in ci-queue-0.17.2 vs lib/minitest/queue/statsd.rb in ci-queue-0.18.0
- old
+ new
@@ -17,10 +17,10 @@
if addr
host, port = addr.split(':', 2)
@socket = UDPSocket.new
@socket.connect(host, Integer(port))
end
- rescue SocketError => e
+ rescue SocketError
# No-op, we shouldn't fail CI because of statsd
end
def increment(metric, tags: [], value: 1)
send_metric(type: 'c', value: value, metric: metric, tags: default_tags + tags)