method

record

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ErrorReporter
record(error_class = StandardError, severity: :error, context: {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/error_reporter.rb, line 64
    def record(error_class = StandardError, severity: :error, context: {})
      yield
    rescue error_class => error
      report(error, handled: false, severity: severity, context: context)
      raise
    end
Register or log in to add new notes.