module Pliny::ErrorReporters
Attributes
error_reporters[RW]
Public Instance Methods
notify(exception, context: {}, rack_env: {})
click to toggle 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