We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PostgresError: the database system is not yet accepting connections
1 parent 60de7ed commit 6423000Copy full SHA for 6423000
src/postgres/errors.ts
@@ -41,6 +41,8 @@ export function isPgConnectionError(error: any): string | false {
41
return 'Postgres connection closed due to administrator command';
42
} else if (msg.includes('password authentication failed')) {
43
return 'Postgres authentication failed';
44
+ } else if (msg.includes('database system is not yet accepting connections')) {
45
+ return 'Postgres not yet accepting connections';
46
}
47
48
return false;
0 commit comments