Skip to content

Commit c0112f6

Browse files
authored
Revert "User-friendly error messages" (#587)
Revert "User-friendly error messages (#586)" This reverts commit b7ceee2.
1 parent b7ceee2 commit c0112f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ where
547547
error_response(
548548
&mut write,
549549
&format!(
550-
"There is no database \"{}\" and user \"{}\" in our system. Create a free database on https://postgresml.org to get started.",
550+
"No pool configured for database: {:?}, user: {:?}",
551551
pool_name, username
552552
),
553553
)
@@ -1099,7 +1099,7 @@ where
10991099

11001100
error_response(
11011101
&mut self.write,
1102-
"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.",
1102+
format!("could not get connection from the pool - {}", err).as_str(),
11031103
)
11041104
.await?;
11051105

0 commit comments

Comments
 (0)