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 9da4d8a commit 03a1896Copy full SHA for 03a1896
src/datastore/postgres-store.ts
@@ -313,6 +313,8 @@ function isPgConnectionError(error: any): string | false {
313
return 'Postgres connection ETIMEDOUT';
314
} else if (error.code === 'ENOTFOUND') {
315
return 'Postgres connection ENOTFOUND';
316
+ } else if (error.code === 'ECONNRESET') {
317
+ return 'Postgres connection ECONNRESET';
318
} else if (error.message) {
319
const msg = (error as Error).message.toLowerCase();
320
if (msg.includes('database system is starting up')) {
0 commit comments