Skip to content

Commit

Permalink
Update aggregator_core/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: David Cook <divergentdave@gmail.com>
  • Loading branch information
jbr and divergentdave committed Jul 28, 2023
1 parent 59ccd7e commit 21b884b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl<H: Handler> InstrumentedHandler<H> {

async fn before_send(&self, conn: Conn) -> Conn {
if let Some(span) = conn.state::<InstrumentedHandlerSpan>() {
let conn = self.0.before_send(conn).instrument(span.0).await;
let conn = self.0.before_send(conn).instrument(span.0.clone()).await;
span.0.in_scope(|| {
let status = conn
.status()
Expand Down

0 comments on commit 21b884b

Please sign in to comment.