Skip to content

Commit

Permalink
Add log to coordinator retry method
Browse files Browse the repository at this point in the history
  • Loading branch information
edouardparis committed Jun 16, 2022
1 parent 7cbb313 commit 6f081b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}
Expand Down

0 comments on commit 6f081b8

Please sign in to comment.