lib/alephant/publisher/queue/options.rb in alephant-publisher-queue-1.1.0 vs lib/alephant/publisher/queue/options.rb in alephant-publisher-queue-1.2.0
- old
+ new
@@ -47,10 +47,10 @@
def execute(instance, type, opts)
begin
validate type, opts
instance.merge! opts
rescue Exception => e
- logger.metric(:name => "PublisherQueueInvalidKeySpecifiedError", :unit => "Count", :value => 1)
+ logger.warn "Publisher::Queue::Options#validate: '#{e.message}'"
puts e.message
end
end
def validate(type, opts)