From 8d16637745c9959d58e4a31f1867019d5fbb9402 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Mon, 11 Sep 2023 16:39:25 -0700 Subject: [PATCH] Revert "User-friendly error messages (#586)" This reverts commit b7ceee2ddf437b477f0ccfff80e5a3da304c0a65. --- src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.rs b/src/client.rs index dc0e2927..4b281121 100644 --- a/src/client.rs +++ b/src/client.rs @@ -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?;