fix bug that prevents rpc context from dropping without server shutdown

This commit is contained in:
Aiden McClelland
2022-02-17 14:50:53 -07:00
committed by Aiden McClelland
parent 1c32e846db
commit 075e68c254
3 changed files with 32 additions and 18 deletions

View File

@@ -338,6 +338,8 @@ pub async fn execute_inner(
tracing::error!("Error recovering drive!: {}", e);
tracing::debug!("{:?}", e);
*ctx.recovery_status.write().await = Some(Err(e.into()));
} else {
tracing::info!("Recovery Complete!");
}
});
(tor_addr, root_ca)