Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/postgres/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export function isPgConnectionError(error: any): string | false {
return 'Postgres connection closed due to administrator command';
} else if (msg.includes('password authentication failed')) {
return 'Postgres authentication failed';
} else if (msg.includes('database system is not yet accepting connections')) {
return 'Postgres not yet accepting connections';
}
}
return false;
Expand Down