Module: GirlFriday::ErrorHandler

Defined in:
lib/girl_friday/error_handler.rb

Defined Under Namespace

Classes: Airbrake, Stderr

Class Method Summary collapse

Class Method Details

.defaultObject



4
5
6
7
8
# File 'lib/girl_friday/error_handler.rb', line 4

def self.default
  handlers = [Stderr]
  handlers << Airbrake if defined?(::Airbrake)
  handlers
end