aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-11-27 16:13:49 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-11-27 16:13:49 +0000
commit4213c0713cf65dd61fce2d40ded23da25c18270e (patch)
tree5dc64eab58669f383f7c0d4a14155762b611a101 /lib
parent6316bb34cb962354bb96f053f8ee92aabf4ef3e1 (diff)
Removed extra unnecessary logger message
Diffstat (limited to 'lib')
-rw-r--r--lib/mauve/person.rb2
1 files changed, 1 insertions, 1 deletions
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