Sha256: 9494ad7aca1f2203b8614289a7484de6dfc0f84c247e83b5374409ccf3342870

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module Memolog::SentryScopeExtension
  def apply_to_event(scope, hint = nil)
    memolog_dump = Memolog.dump
    set_extras(Memolog.config.sentry_key => memolog_dump) if memolog_dump

    super
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
memolog-0.3.0 lib/memolog/sentry_scope_extension.rb