Sha256: df047505f89495a76d5df6086e6c1e761ee3a4362c73a01eb4bc36056665d8a8

Contents?: true

Size: 214 Bytes

Versions: 4

Compression:

Stored size: 214 Bytes

Contents

# frozen_string_literal: true

module Memolog::SentryScopeExtension
  def extra
    memolog_dump = Memolog.dump
    memolog_dump.present? ? super.merge!(Memolog.config.sentry_key => memolog_dump) : super
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
memolog-0.2.2 lib/memolog/sentry_scope_extension.rb
memolog-0.2.1 lib/memolog/sentry_scope_extension.rb
memolog-0.2.0 lib/memolog/sentry_scope_extension.rb
memolog-0.1.0 lib/memolog/sentry_scope_extension.rb