mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-09-30 06:20:38 +00:00
fix tower-h2 example not entering server span
This commit is contained in:
parent
0ca0e79772
commit
ff850726ca
@ -142,6 +142,7 @@ fn main() {
|
||||
})
|
||||
.map_err(|e| event!(Level::Error, {}, "serve error {:?}", e))
|
||||
.map(|_| {})
|
||||
.instrument(server_span.clone())
|
||||
;
|
||||
|
||||
rt.spawn(serve);
|
||||
|
Loading…
x
Reference in New Issue
Block a user