Fix build for compare with tracing.

This commit is contained in:
Tom Alexander 2023-10-14 19:20:49 -04:00
parent b9c638c280
commit d2d8c1ffcf
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -27,7 +27,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let rt = tokio::runtime::Runtime::new()?;
let result = rt.block_on(async {
init_telemetry()?;
let main_body_result = main_body();
let main_body_result = main_body().await;
shutdown_telemetry()?;
main_body_result
});