Lowercase log/error messages

This commit is contained in:
Dirkjan Ochtman 2024-10-25 09:59:58 +02:00
parent 59733b8bf8
commit dbaa7d015c
1 changed files with 2 additions and 2 deletions

View File

@ -283,13 +283,13 @@ mod rustls_connector {
type Connection = TlsStream<TcpStream>;
async fn connect(&self, timeout: Duration) -> Result<Self::Connection, Error> {
info!("Connecting to server: {}:{}", self.server.0, self.server.1);
info!("connecting to server: {}:{}", self.server.0, self.server.1);
let addr = match lookup_host(&self.server).await?.next() {
Some(addr) => addr,
None => {
return Err(Error::Io(io::Error::new(
io::ErrorKind::InvalidInput,
format!("Invalid host: {}", &self.server.0),
format!("invalid host: {}", &self.server.0),
)))
}
};