Open
Description
Environment
Linux x86_64
Steps to Reproduce
- Build
SentryLayer
with bothevent_filter
andevent_mapper
set.event_filter
ignores tracing events belowLevel::ERROR
.event_mapper
always returnsEventMapping::Event(..)
.
- Emit a tracing event with
Level::WARN
(warn!()
).
Expected Result
The warn
event is discarded by the filter; the Sentry instance does not receive any events.
Actual Result
The warn
event is not discarded by the filter; the Sentry instance receives the mapped event.