add config for sentry stacktraces

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-07-13 21:20:05 +00:00
1 parent e73aa2aa21
commit db3c718ddc
3 files changed
+7

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ fn options(config: &Config) -> ClientOptions {
debug: cfg!(debug_assertions),
release: sentry::release_name!(),
user_agent: conduit::version::user_agent().into(),
attach_stacktrace: config.sentry_attach_stacktrace,
before_send: Some(Arc::new(before_send)),
before_breadcrumb: Some(Arc::new(before_breadcrumb)),
..Default::default()