From 4213c0713cf65dd61fce2d40ded23da25c18270e Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 27 Nov 2012 16:13:49 +0000 Subject: Removed extra unnecessary logger message --- lib/mauve/person.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/mauve/person.rb b/lib/mauve/person.rb index a82c539..979c0ab 100644 --- a/lib/mauve/person.rb +++ b/lib/mauve/person.rb @@ -206,7 +206,7 @@ module Mauve note = "#{@alert.update_type.capitalize} #{name} notification to #{@person.username} (#{destination}) " + (res ? "succeeded" : "failed" ) logger.info note+" about #{@alert}." h = History.new(:alerts => [@alert], :type => "notification", :event => note, :user => @person.username) - logger.error "Unable to save history due to #{h.errors.inspect}" if !h.save + h.save return res end -- cgit v1.2.1