Module: GirlFriday::ErrorHandler

Defined in:
lib/girl_friday/error_handler.rb

Defined Under Namespace

Classes: Hoptoad, Stderr

Constant Summary

Airbrake =
Hoptoad

Class Method Summary (collapse)

Class Method Details

+ (Object) default



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

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