mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-26 17:40:37 +00:00
Update auth.rs (#3349)
Update SNI error message. Users now specify the endpoint ID when making a connection to Neon. This should be reflected in the error message.
This commit is contained in:
@@ -42,9 +42,9 @@ pub enum AuthErrorImpl {
|
||||
MalformedPassword(&'static str),
|
||||
|
||||
#[error(
|
||||
"Project ID is not specified. \
|
||||
"Endpoint ID is not specified. \
|
||||
Either please upgrade the postgres client library (libpq) for SNI support \
|
||||
or pass the project ID (first part of the domain name) as a parameter: '?options=project%3D<project-id>'. \
|
||||
or pass the endpoint ID (first part of the domain name) as a parameter: '?options=project%3D<endpoint-id>'. \
|
||||
See more at https://neon.tech/sni"
|
||||
)]
|
||||
MissingProjectName,
|
||||
|
||||
Reference in New Issue
Block a user