Sha256: d14bbe4ba0227b99eeff53a76acc9834d9c6de3341d651efb4c9f15ac078513d
Contents?: true
Size: 488 Bytes
Versions: 3
Compression:
Stored size: 488 Bytes
Contents
module Sunspot module Rails module Failover module ExceptionHandlerAdapter def self.handle(exception) case exception_handler when :hoptoad, nil HoptoadNotifier.notify(exception) if defined?(HoptoadNotifier) when Class exception_handler.handle(exception) end end def self.exception_handler Failover.exception_handler end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems