Skip to content

Commit 92878b8

Browse files
committed
fix
1 parent 1f4c220 commit 92878b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sentry-core/src/clientoptions.rs

-2
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,7 @@ impl Default for ClientOptions {
286286
https_proxy: None,
287287
shutdown_timeout: Duration::from_secs(2),
288288
accept_invalid_certs: false,
289-
#[cfg(feature = "release-health")]
290289
auto_session_tracking: false,
291-
#[cfg(feature = "release-health")]
292290
session_mode: SessionMode::Application,
293291
extra_border_frames: vec![],
294292
trim_backtraces: true,

sentry/src/init.rs

+2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ where
9797
{
9898
let opts = apply_defaults(opts.into());
9999

100+
#[allow(unused)]
100101
let auto_session_tracking = opts.auto_session_tracking;
102+
#[allow(unused)]
101103
let session_mode = opts.session_mode;
102104

103105
let client = Arc::new(Client::from(opts));

0 commit comments

Comments
 (0)