Handle errors on initial connect
This commit is contained in:
@@ -412,6 +412,8 @@ impl InnerPostgresConnection {
|
||||
| AuthenticationSCMCredential
|
||||
| AuthenticationGSS
|
||||
| AuthenticationSSPI => return Some(UnsupportedAuthentication),
|
||||
ErrorResponse { fields } =>
|
||||
return Some(DbError(PostgresDbError::new(fields))),
|
||||
_ => fail!()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user