Sha256: e1c794b775d31b6988245e6c175a3685d083a58cb9617ab20f515f8fc86f6f77

Contents?: true

Size: 370 Bytes

Versions: 59

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  module ErrorTracking
    class BaseHandler
      def self.call(exception)
        # implement your own notification method
      end
    end

    mattr_accessor :notification_handler
  end
end

require "alchemy/error_tracking/error_logger"
Alchemy::ErrorTracking.notification_handler = Alchemy::ErrorTracking::ErrorLogger

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
alchemy_cms-7.3.4 lib/alchemy/error_tracking.rb
alchemy_cms-7.3.3 lib/alchemy/error_tracking.rb
alchemy_cms-7.3.2 lib/alchemy/error_tracking.rb
alchemy_cms-7.2.7 lib/alchemy/error_tracking.rb
alchemy_cms-7.3.1 lib/alchemy/error_tracking.rb
alchemy_cms-7.3.0 lib/alchemy/error_tracking.rb
alchemy_cms-7.2.6 lib/alchemy/error_tracking.rb
alchemy_cms-7.2.5 lib/alchemy/error_tracking.rb
alchemy_cms-7.1.12 lib/alchemy/error_tracking.rb
alchemy_cms-7.0.15 lib/alchemy/error_tracking.rb
alchemy_cms-6.1.10 lib/alchemy/error_tracking.rb
alchemy_cms-7.2.4 lib/alchemy/error_tracking.rb
alchemy_cms-7.1.11 lib/alchemy/error_tracking.rb
alchemy_cms-7.2.3 lib/alchemy/error_tracking.rb
alchemy_cms-7.1.10 lib/alchemy/error_tracking.rb
alchemy_cms-7.2.2 lib/alchemy/error_tracking.rb
alchemy_cms-7.1.9 lib/alchemy/error_tracking.rb
alchemy_cms-7.0.14 lib/alchemy/error_tracking.rb
alchemy_cms-7.2.1 lib/alchemy/error_tracking.rb
alchemy_cms-7.0.13 lib/alchemy/error_tracking.rb