Method: Sentry::Transport#record_lost_event
- Defined in:
- lib/sentry/transport.rb
#record_lost_event(reason, data_category, num: 1) ⇒ Object
160 161 162 163 164 165 |
# File 'lib/sentry/transport.rb', line 160 def record_lost_event(reason, data_category, num: 1) return unless @send_client_reports return unless CLIENT_REPORT_REASONS.include?(reason) @discarded_events[[reason, data_category]] += num end |