module Pliny::ErrorReporters
Attributes
Public Instance Methods
Source
# File lib/pliny/error_reporters.rb, line 8 def notify(exception, context: {}, rack_env: {}) Pliny.log_exception(exception) error_reporters.each do |reporter| begin reporter.new.notify(exception, context: context, rack_env: rack_env) rescue Pliny.log_exception($!) end end end