Skip to content

Commit 4de3225

Browse files
committed
remove extra border frames (thanks cursor)
1 parent e05ce91 commit 4de3225

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

sentry-core/src/clientoptions.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,6 @@ pub struct ClientOptions {
189189
/// Determine how Sessions are being tracked.
190190
#[cfg(feature = "release-health")]
191191
pub session_mode: SessionMode,
192-
/// Border frames which indicate a border from a backtrace to
193-
/// useless internals. Some are automatically included.
194-
pub extra_border_frames: Vec<&'static str>,
195192
/// The user agent that should be reported.
196193
pub user_agent: Cow<'static, str>,
197194
}
@@ -281,10 +278,7 @@ impl fmt::Debug for ClientOptions {
281278
.field("enable_logs", &self.enable_logs)
282279
.field("before_send_log", &before_send_log);
283280

284-
debug_struct
285-
.field("extra_border_frames", &self.extra_border_frames)
286-
.field("user_agent", &self.user_agent)
287-
.finish()
281+
debug_struct.field("user_agent", &self.user_agent).finish()
288282
}
289283
}
290284

@@ -317,7 +311,6 @@ impl Default for ClientOptions {
317311
auto_session_tracking: false,
318312
#[cfg(feature = "release-health")]
319313
session_mode: SessionMode::Application,
320-
extra_border_frames: vec![],
321314
user_agent: Cow::Borrowed(USER_AGENT),
322315
max_request_body_size: MaxRequestBodySize::Medium,
323316
#[cfg(feature = "logs")]

0 commit comments

Comments
 (0)