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 e23963f commit e00efd4Copy full SHA for e00efd4
src/datastore/helpers.ts
@@ -208,6 +208,8 @@ export function isPgConnectionError(error: any): string | false {
208
return 'Postgres client has encountered a connection error and is not queryable';
209
} else if (msg.includes('terminating connection due to unexpected postmaster exit')) {
210
return 'Postgres connection terminating due to unexpected postmaster exit';
211
+ } else if (msg.includes('getaddrinfo eai_again')) {
212
+ return 'Postgres connection failed due to a DNS lookup error';
213
}
214
215
return false;
0 commit comments