Sha256: bfeb8ee2cb1e9738655a759e922e975e8ecd0d1aaf5b6978f36348f7745023de

Contents?: true

Size: 158 Bytes

Versions: 6

Compression:

Stored size: 158 Bytes

Contents

module Notifiable
  def notifiable(&block)
    yield
  rescue => exception
    ExceptionNotifier.deliver_exception_notification(exception)
    raise
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pboling-super_exception_notifier-1.6.5 lib/notifiable.rb
pboling-super_exception_notifier-1.6.6 lib/notifiable.rb
pboling-super_exception_notifier-1.6.7 lib/notifiable.rb
pboling-super_exception_notifier-1.6.8 lib/notifiable.rb
pboling-super_exception_notifier-1.7.0 lib/notifiable.rb
pboling-super_exception_notifier-1.7.1 lib/notifiable.rb