feat(transport-smtp): Add a debug log for name resolution
This commit is contained in:
@@ -110,6 +110,8 @@ impl<S: Connector + Write + Read + Debug + Clone> Client<S> {
|
||||
Some(addr) => addr,
|
||||
None => return_err!("Could not resolve hostname", self),
|
||||
};
|
||||
|
||||
debug!("connecting to {}", server_addr);
|
||||
|
||||
// Try to connect
|
||||
self.set_stream(try!(Connector::connect(&server_addr, ssl_context)));
|
||||
|
||||
Reference in New Issue
Block a user