aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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