Method: Sentry::Transport#send_envelope
- Defined in:
- lib/sentry/transport.rb
permalink #send_envelope(envelope) ⇒ Object
[View source]
56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/sentry/transport.rb', line 56 def send_envelope(envelope) reject_rate_limited_items(envelope) return if envelope.items.empty? data, serialized_items = serialize_envelope(envelope) if data log_debug("[Transport] Sending envelope with items [#{serialized_items.map(&:type).join(', ')}] #{envelope.event_id} to Sentry") send_data(data) end end |