fix tower-h2 example not entering server span

This commit is contained in:
Eliza Weisman 2018-09-28 15:08:49 -07:00
parent 0ca0e79772
commit ff850726ca
No known key found for this signature in database
GPG Key ID: F9C1A595C3814436

View File

@ -142,6 +142,7 @@ fn main() {
})
.map_err(|e| event!(Level::Error, {}, "serve error {:?}", e))
.map(|_| {})
.instrument(server_span.clone())
;
rt.spawn(serve);