Method: Sentry::Configuration#before_breadcrumb

Defined in:
lib/sentry/configuration.rb

#before_breadcrumbProc

Optional Proc, called before adding the breadcrumb to the current scope

Examples:

config.before = lambda do |breadcrumb, hint|
  breadcrumb.message = 'a'
  breadcrumb
end

Returns:

  • (Proc)


69
70
71
# File 'lib/sentry/configuration.rb', line 69

def before_breadcrumb
  @before_breadcrumb
end