We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9967c0 commit 62a4432Copy full SHA for 62a4432
tokio-postgres/src/connect_socket.rs
@@ -42,7 +42,7 @@ pub(crate) async fn connect_socket(
42
{
43
sock_ref
44
.set_tcp_user_timeout(tcp_user_timeout)
45
- .map_err(Error::timeout)?;
+ .map_err(Error::connect)?;
46
}
47
48
if let Some(keepalive_config) = keepalive_config {
0 commit comments