Sha256: b5653a2b0a283c0cc2837ade7ab0ba67234437024db664d6d5be767ecf3638bf
Contents?: true
Size: 672 Bytes
Versions: 7
Compression:
Stored size: 672 Bytes
Contents
module Sapience class ErrorHandler class Silent < Sapience::ErrorHandler # level: [:trace | :debug | :info | :warn | :error | :fatal] # Override the log level for this appender. # Default: Sapience.config.default_level # # dsn: [String] # Url to configure Sentry-Raven. # Default: nil def initialize(_options = {}) Sapience.logger.warn "Error handler is not configured. See documentation for more information." end def capture_exception(_exception, _payload = {}) nil end def capture_message(_message, _payload = {}) nil end end end end
Version data entries
7 entries across 7 versions & 1 rubygems