refactor: use expect for tracing unwrap

pull/24376/head
Dom 2020-12-14 10:50:14 +00:00
parent 21110dc233
commit 667b2595d9
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ fn setup_logging(num_verbose: u64) -> Option<opentelemetry_jaeger::Uninstall> {
.with_service_name("iox")
.from_env()
.install()
.unwrap();
.expect("failed to initialise the Jaeger tracing sink");
// Initialise the opentelemetry tracing layer, giving it the jaeger emitter
let opentelemetry = tracing_opentelemetry::layer().with_tracer(tracer);