Revert "Require a reason when marking a server bad (#654)"

This reverts commit 4dbef49ec9.
This commit is contained in:
Lev
2023-12-04 19:59:53 -08:00
parent 54c4ad140d
commit 7a419f40ea
4 changed files with 14 additions and 18 deletions

View File

@@ -1279,8 +1279,8 @@ impl Server {
}
/// Indicate that this server connection cannot be re-used and must be discarded.
pub fn mark_bad(&mut self, reason: &str) {
error!("Server {:?} marked bad, reason: {}", self.address, reason);
pub fn mark_bad(&mut self) {
error!("Server {:?} marked bad", self.address);
self.bad = true;
}