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:
Stas Kelvich
2022-09-01 01:28:18 +03:00
parent ad057124be
commit 772078eb5c

View File

@@ -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,