Skip to content

Commit

Permalink
fix: message
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Mukharram committed Apr 14, 2023
1 parent a3fd0c1 commit 9d800c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/config/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export class ConfigService extends ConfigServiceSource<EnvironmentVariables> {
const password = this.readEnvFromFile(filePath, 'DB_PASSWORD_FILE') as EnvironmentVariables[T];

if (!password) {
console.error('Please set postgres password in DB_PASSWORD or in file DB_PASSWORD_FILE');
console.error(
'File in DB_PASSWORD_FILE doesnt contain a password. Please provide postgresql password via DB_PASSWORD or DB_PASSWORD_FILE envs',
);
process.exit(1);
}

Expand Down

0 comments on commit 9d800c9

Please sign in to comment.