adds debug statement

This commit is contained in:
Keagan McClelland
2021-10-04 15:25:16 -06:00
committed by Aiden McClelland
parent 898d018c2e
commit 686b2cb12c

View File

@@ -366,7 +366,12 @@ pub async fn tor_health_check(client: &Client, tor_controller: &TorController) {
.await;
match result {
// if success, do nothing
Ok(_) => {}
Ok(_) => {
log::debug!(
"Successfully verified main tor address liveness at {}",
onion
)
}
// if failure, disconnect tor control port, and restart tor controller
Err(e) => {
log::error!("Unable to reach self over tor: {}", e);