Skip to content

Commit 20ee85b

Browse files
committed
fix: Remove unnecessary options from sentry::ClientOptions
1 parent 813c5fc commit 20ee85b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

bindings/matrix-sdk-ffi/src/platform.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ use std::sync::OnceLock;
22
#[cfg(feature = "sentry")]
33
use std::sync::{atomic::AtomicBool, Arc};
44

5-
#[cfg(feature = "sentry")]
6-
use sentry::MaxRequestBodySize;
75
#[cfg(feature = "sentry")]
86
use tracing::warn;
97
use tracing_appender::rolling::{RollingFileAppender, Rotation};
@@ -481,7 +479,6 @@ impl TracingConfiguration {
481479
})),
482480
attach_stacktrace: true,
483481
release: Some(env!("VERGEN_GIT_SHA").into()),
484-
max_request_body_size: MaxRequestBodySize::None,
485482
..sentry::ClientOptions::default()
486483
},
487484
));
@@ -508,7 +505,6 @@ impl TracingConfiguration {
508505
}
509506
}
510507
})
511-
.enable_span_attributes()
512508
.span_filter({
513509
let enabled = sentry_enabled.clone();
514510

0 commit comments

Comments
 (0)