Sha256: 585eaf5ac7488d90b96a61425e40ff55043b975cc2b6ea555331900428add3dc

Contents?: true

Size: 282 Bytes

Versions: 15

Compression:

Stored size: 282 Bytes

Contents

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

module ActionView
  class StreamingTemplateRenderer
    class Body
      private

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rails_semantic_logger-4.6.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.5.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.5.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.4.6 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.4.5 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.4.4 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.4.3 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.4.2 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.4.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.4.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.3.4 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.3.3 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.3.2 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.3.1 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb
rails_semantic_logger-4.3.0 lib/rails_semantic_logger/extensions/action_view/streaming_template_renderer.rb