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.
1 parent b8e79c8 commit 4a2a342Copy full SHA for 4a2a342
src/datastore/helpers.ts
@@ -192,6 +192,8 @@ export function isPgConnectionError(error: any): string | false {
192
return 'Postgres connection CONNECTION_DESTROYED';
193
} else if (error.code === 'CONNECTION_CONNECT_TIMEOUT') {
194
return 'Postgres connection CONNECTION_CONNECT_TIMEOUT';
195
+ } else if (error.code === 'CONNECT_TIMEOUT') {
196
+ return 'Postgres connection CONNECT_TIMEOUT';
197
} else if (error.message) {
198
const msg = (error as Error).message.toLowerCase();
199
if (msg.includes('database system is starting up')) {
0 commit comments