Method: Sentry.add_breadcrumb

Defined in:
lib/sentry-ruby.rb

.add_breadcrumb(breadcrumb, **options) ⇒ Breadcrumb?

Takes an instance of Sentry::Breadcrumb and stores it to the current active scope.

Returns:

[View source]

328
329
330
331
# File 'lib/sentry-ruby.rb', line 328

def add_breadcrumb(breadcrumb, **options)
  return unless initialized?
  get_current_hub.add_breadcrumb(breadcrumb, **options)
end