refactor: use Debug impl instead of Display impl for logging errors (#5301)

This commit is contained in:
Sanchith Hegde
2024-07-12 13:21:22 +05:30
committed by GitHub
parent d65d7b5cca
commit e835706ad6
27 changed files with 192 additions and 153 deletions

View File

@ -270,7 +270,7 @@ pub async fn receiver_for_error(rx: oneshot::Receiver<()>, mut server: impl Stop
server.stop_server().await;
}
Err(err) => {
logger::error!("Channel receiver error{err}");
logger::error!("Channel receiver error: {err}");
}
}
}