class Sentry::Hub

def add_breadcrumb(breadcrumb, hint: {})

Experimental RBS support (using type sampling data from the type_fusion project).

def add_breadcrumb: (Sentry::Breadcrumb breadcrumb, hint: Hash) -> untyped

This signature was generated using 2 samples from 1 application.

def add_breadcrumb(breadcrumb, hint: {})
  return unless configuration.enabled_in_current_env?
  if before_breadcrumb = current_client.configuration.before_breadcrumb
    breadcrumb = before_breadcrumb.call(breadcrumb, hint)
  end
  return unless breadcrumb
  current_scope.add_breadcrumb(breadcrumb)
end