class Sentry::Session
def close
def close @status = :exited if @status == :ok end
def deep_dup
def deep_dup dup end
def initialize
def initialize @started = Sentry.utc_now @status = :ok # truncate seconds from the timestamp since we only care about # minute level granularity for aggregation @aggregation_key = Time.utc(@started.year, @started.month, @started.day, @started.hour, @started.min) end
def update_from_exception(_exception = nil)
def update_from_exception(_exception = nil) @status = :errored end