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.
462 463 464 465 |
# File 'lib/sentry-ruby.rb', line 462 def capture_event(event) return unless initialized? get_current_hub.capture_event(event) end |