class Sentry::Event

def rack_env=(env)

Returns:
  • (void) -

Parameters:
  • env (Hash) --

Other tags:
    See: RequestInterface -
def rack_env=(env)
  unless request || env.empty?
    add_request_interface(env)
    user[:ip_address] ||= calculate_real_ip_from_rack(env) if @send_default_pii
    if request_id = Utils::RequestId.read_from(env)
      tags[:request_id] = request_id
    end
  end
end