From fed6a83bcacef678b90fa84048559e7a21434158 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Wed, 28 Jun 2023 09:18:41 +0100 Subject: [PATCH] remove incorrect psql codes --- packages/server/src/integrations/base/errorMapping.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/server/src/integrations/base/errorMapping.ts b/packages/server/src/integrations/base/errorMapping.ts index 80af9d587c..38e9ee3c39 100644 --- a/packages/server/src/integrations/base/errorMapping.ts +++ b/packages/server/src/integrations/base/errorMapping.ts @@ -5,13 +5,7 @@ const mysqlErrorMessages: Record = { 1049: "The specified database does not exist. Please verify that the database name is correct.", } -const postgresErrorMessages: Record = { - 28: "Connection timed out. Please verify that the database host and port are correct, and that the database is accepting TCP/IP connections.", - 3: "Connection timed out. Please verify that the database host and port are correct, and that the database is accepting TCP/IP connections.", - 4: "Connection refused. Please verify that the database host and port are correct, and that the database is accepting TCP/IP connections.", - 1017: "Access denied for the specified user. User does not have the necessary privileges or the provided credentials are incorrect. Please verify the credentials, and ensure that the user has appropriate permissions.", - 1049: "The specified database does not exist. Please verify that the database name is correct.", -} +const postgresErrorMessages: Record = {} const sqlServerErrorMessages: Record = {}