lib/sapience/extensions/action_view/streaming_template_renderer.rb
# frozen_string_literal: true
# Log actual exceptions, not a string representation
class ActionView::StreamingTemplateRenderer # rubocop:disable ClassAndModuleChildren
class Body
private
alias log_error_original log_error
def log_error(exception) #:nodoc:
ActionView::Base.logger.fatal(exception)
end
end
end