Method: ErrornotNotifier.notify_or_ignore
- Defined in:
- lib/errornot_notifier.rb
.notify_or_ignore(exception, opts = {}) ⇒ Object
Sends the notice unless it is one of the default ignored exceptions
98 99 100 101 |
# File 'lib/errornot_notifier.rb', line 98 def notify_or_ignore(exception, opts = {}) notice = build_notice_for(exception, opts) send_notice(notice) unless notice.ignore? end |