Sha256: 428e86e265a281c4be3b03dc99800107afff6633613de037e74ea16af0fb412f
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
class SlackLogDevice module RailsExceptionsLogging 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack_log_device-3.0.0 | lib/slack_log_device/rails_exceptions_logging.rb |