# File lib/guard/notifier.rb, line 170 def notify(message, options = { }) if enabled? type = notification_type(options[:image] || :success) image = image_path(options.delete(:image) || :success) title = options.delete(:title) || 'Guard' notifications.each do |notification| begin get_notifier_module(notification[:name]).notify(type, title, message, image, options.merge(notification[:options])) rescue Exception => e ::Guard::UI.error "Error sending notification with #{ notification[:name] }: #{ e.message }" end end end end