We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa6ac1c commit ba18f42Copy full SHA for ba18f42
sentry-tracing/src/layer.rs
@@ -181,7 +181,8 @@ where
181
sentry_core::Hub::current()
182
.client()
183
.map(|client| client.options().enable_logs)
184
- .unwrap_or(true)
+ .unwrap_or(true) // default to true if we don't know, client will drop the
185
+ // logs later if it was actually `enable_logs: false`
186
}
187
#[cfg(not(feature = "logs"))]
188
{
0 commit comments