Module: Lamian::RavenContextExtension

Defined in:
lib/lamian/raven_context_extension.rb

Overview

A patch for Raven::Context class

Instance Method Summary collapse

Instance Method Details

#extraObject

Adds current lamian log to the extra part of all raven events generated inside Lamian.run block



7
8
9
10
# File 'lib/lamian/raven_context_extension.rb', line 7

def extra
  log = Lamian.dump_limited
  log ? super.merge!(Lamian::SENTRY_EXTRA_KEY => log) : super
end