Method: Sentry.capture_event

Defined in:
lib/sentry-ruby.rb

.capture_event(event) ⇒ Event?

Takes an instance of Sentry::Event and dispatches it to the currently active hub.

Returns:

[View source]

471
472
473
474
# File 'lib/sentry-ruby.rb', line 471

def capture_event(event)
  return unless initialized?
  get_current_hub.capture_event(event)
end