From 6f081b8b0bc21d5fc85c000778ee3a5a5c34d982 Mon Sep 17 00:00:00 2001 From: edouard Date: Thu, 16 Jun 2022 18:53:52 +0200 Subject: [PATCH] Add log to coordinator retry method --- src/coordinator.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/coordinator.rs b/src/coordinator.rs index e7b0cf7..23856e4 100644 --- a/src/coordinator.rs +++ b/src/coordinator.rs @@ -42,6 +42,10 @@ impl CoordinatorClient { Ok(res) => return Ok(res), Err(e) => error = Some(e), } + log::debug!( + "Error while communicating with coordinator: {:?}, retrying", + error, + ); } Err(error.expect("An error must have happened")) }