Method: Sentry::Client#capture_envelope

Defined in:
lib/sentry/client.rb

#capture_envelope(envelope) ⇒ void

This method returns an undefined value.

Capture an envelope directly.

Parameters:

  • envelope (Envelope)

    the envelope to be captured.



127
128
129
# File 'lib/sentry/client.rb', line 127

def capture_envelope(envelope)
  Sentry.background_worker.perform { send_envelope(envelope) }
end