mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 05:22:56 +00:00
Reword proxy SNI error message
Be more strict with project id/name difference and explain how to get project id out of the domain name.
This commit is contained in:
@@ -46,9 +46,9 @@ pub enum AuthErrorImpl {
|
||||
MalformedPassword(&'static str),
|
||||
|
||||
#[error(
|
||||
"Project name is not specified. \
|
||||
"Project ID is not specified. \
|
||||
Either please upgrade the postgres client library (libpq) for SNI support \
|
||||
or pass the project name as a parameter: '&options=project%3D<project-name>'. \
|
||||
or pass the project ID (first part of the domain name) as a parameter: '?options=project%3D<project-id>'. \
|
||||
See more at https://neon.tech/sni"
|
||||
)]
|
||||
MissingProjectName,
|
||||
|
||||
Reference in New Issue
Block a user