mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-30 04:45:26 +00:00
dont ignore all tracing logs for sentry
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
350d25a368
commit
6fa2e0814c
|
@ -35,8 +35,6 @@ use ruma::api::{
|
|||
},
|
||||
IncomingRequest,
|
||||
};
|
||||
#[cfg(feature = "sentry_telemetry")]
|
||||
use sentry_tracing::EventFilter;
|
||||
#[cfg(all(not(target_env = "msvc"), feature = "jemalloc"))]
|
||||
use tikv_jemallocator::Jemalloc;
|
||||
use tokio::{
|
||||
|
@ -151,10 +149,7 @@ fn main() {
|
|||
};
|
||||
|
||||
#[cfg(feature = "sentry_telemetry")]
|
||||
let sentry_layer = sentry_tracing::layer().event_filter(|md| match md.level() {
|
||||
&Level::ERROR => EventFilter::Event,
|
||||
_ => EventFilter::Ignore,
|
||||
});
|
||||
let sentry_layer = sentry_tracing::layer();
|
||||
|
||||
let subscriber;
|
||||
|
||||
|
|
Loading…
Reference in a new issue