Merge branch 'master' into fix-event-bubbling

This commit is contained in:
Evan Almloff committed 2023-09-17 20:00:22 -05:00
1 parent c8fca7b321
commit 98335bd9a6
368 files changed
+1877 -13498

No files matched your search

+6 -1
View File
@@ -1,4 +1,5 @@
use std::pin::Pin;
use tracing_futures::Instrument;
use http::{Request, Response};
@@ -45,7 +46,11 @@ where
> + Send,
>,
> {
let fut = self.call(req);
let fut = self.call(req).instrument(tracing::trace_span!(
"service",
"{}",
std::any::type_name::<S>()
));
Box::pin(async move { fut.await.map_err(|err| err.into()) })
}
}