Sha256: 7b6145424307debfdf18c77efd14d5e86900da7103c0e28b391a8d7fed87560a
Contents?: true
Size: 413 Bytes
Versions: 15
Compression:
Stored size: 413 Bytes
Contents
class SlackLogDevice module DebugExceptions def log_error(request, wrapper) logger = logger(request) return unless logger exception = wrapper.exception return if defined?(ActionController::RoutingError) && exception.is_a?(ActionController::RoutingError) exception.instance_variable_set(:@__slack_log_device_request, request) logger.fatal(exception) end end end
Version data entries
15 entries across 15 versions & 1 rubygems