Sha256: ef40eeaf8aa5ac1be3f71da7c77d82484496345fc1827871978ded57cca805a4

Contents?: true

Size: 312 Bytes

Versions: 1

Compression:

Stored size: 312 Bytes

Contents

# Log actual exceptions, not a string representation
ActionView::StreamingTemplateRenderer

module ActionView
  class StreamingTemplateRenderer
    class Body
      private

      undef_method :log_error
      def log_error(exception)
        ActionView::Base.logger.fatal(exception)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_semantic_logger-4.6.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb