change UnexpectedEof to ConnectionAborted

This commit is contained in:
Austin Bonander
2020-01-03 19:06:00 -08:00
parent 43f1164823
commit 589d06ec66
2 changed files with 2 additions and 2 deletions

View File

@@ -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())
}
}