mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
Revert "User-friendly error messages" (#587)
Revert "User-friendly error messages (#586)"
This reverts commit b7ceee2ddf.
This commit is contained in:
@@ -547,7 +547,7 @@ where
|
||||
error_response(
|
||||
&mut write,
|
||||
&format!(
|
||||
"There is no database \"{}\" and user \"{}\" in our system. Create a free database on https://postgresml.org to get started.",
|
||||
"No pool configured for database: {:?}, user: {:?}",
|
||||
pool_name, username
|
||||
),
|
||||
)
|
||||
@@ -1099,7 +1099,7 @@ where
|
||||
|
||||
error_response(
|
||||
&mut self.write,
|
||||
"Your database ran out of GPU concurrency capacity. Please upgrade by logging into your account on https://postgresml.org and increasing your GPU concurrency limit.",
|
||||
format!("could not get connection from the pool - {}", err).as_str(),
|
||||
)
|
||||
.await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user