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 046f3a2 commit 46bb118Copy full SHA for 46bb118
crates/cli/src/server.rs
@@ -333,7 +333,7 @@ pub fn build_router(
333
// which is the other way around compared to `tower::ServiceBuilder`.
334
// So even if the Sentry docs has an example that does
335
// 'NewSentryHttpLayer then SentryHttpLayer', we must do the opposite.
336
- .layer(SentryHttpLayer::with_transaction())
+ .layer(SentryHttpLayer::new().enable_transaction())
337
.layer(NewSentryLayer::new_from_top())
338
.with_state(state)
339
}
0 commit comments