From 13c8de53a94e963540d0475b959d40c35d6a0c8e Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Thu, 10 Nov 2011 16:59:50 +0000 Subject: Log received at time in processor --- lib/mauve/processor.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mauve/processor.rb b/lib/mauve/processor.rb index c8a1dfb..0e59778 100644 --- a/lib/mauve/processor.rb +++ b/lib/mauve/processor.rb @@ -100,7 +100,7 @@ module Mauve # # Uh-oh. Nil data? That's craaaazy # - break if data.nil? + next if data.nil? # logger.debug("Got #{data.inspect} from #{client.inspect}") @@ -119,7 +119,7 @@ module Mauve next end - logger.debug "Update #{update.transmission_id} sent at #{update.transmission_time} from "+ + logger.debug "Update #{update.transmission_id} sent at #{update.transmission_time} received at #{received_at.to_i} from "+ "'#{update.source}'@#{ip_source} alerts #{update.alert.length}" Alert.receive_update(update, received_at, ip_source) -- cgit v1.2.1