mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-14 12:35:15 +00:00
Replace usage of deprecated SentryHttpLayer::with_transaction
This commit is contained in:
@@ -333,7 +333,7 @@ pub fn build_router(
|
||||
// which is the other way around compared to `tower::ServiceBuilder`.
|
||||
// So even if the Sentry docs has an example that does
|
||||
// 'NewSentryHttpLayer then SentryHttpLayer', we must do the opposite.
|
||||
.layer(SentryHttpLayer::with_transaction())
|
||||
.layer(SentryHttpLayer::new().enable_transaction())
|
||||
.layer(NewSentryLayer::new_from_top())
|
||||
.with_state(state)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user