Method: Sentry::PropagationContext#get_baggage
- Defined in:
- lib/sentry/propagation_context.rb
#get_baggage ⇒ Baggage?
Returns the Baggage from the propagation context or populates as head SDK if empty.
142 143 144 145 |
# File 'lib/sentry/propagation_context.rb', line 142 def get_baggage populate_head_baggage if @baggage.nil? || @baggage.mutable @baggage end |