class ElasticAPM::Agent
def report(exception, handled: true)
def report(exception, handled: true) return if config.filter_exception_types.include?(exception.class.to_s) error = @error_builder.build_exception( exception, handled: handled ) enqueue_errors error end