getsentry / sentry-ruby

Sentry SDK for Ruby
https://sentry.io/for/ruby
MIT License
927 stars 493 forks source link

Make sure isolated envelopes respect enabled_environments #2291

Closed sl0thentr0py closed 5 months ago

sl0thentr0py commented 5 months ago

Envelopes for metrics/sessions and so on were queued directly before and thus did not respect the config. This introduces a dedicated capture_envelope on the client to centralize these checks.

Closes #2287