mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-08 11:17:12 +00:00
change UnexpectedEof to ConnectionAborted
This commit is contained in:
@@ -125,7 +125,7 @@ impl super::PgConnection {
|
||||
}
|
||||
|
||||
// Connection was (unexpectedly) closed
|
||||
Err(io::Error::from(io::ErrorKind::UnexpectedEof).into())
|
||||
Err(io::Error::from(io::ErrorKind::ConnectionAborted).into())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user