Skip to content

Commit

Permalink
Merge pull request #691 from lirantal/feature/missing_ssl_better_log
Browse files Browse the repository at this point in the history
Enhancing SSL error message
  • Loading branch information
lirantal committed Jul 24, 2015
2 parents a62f25e + 315187e commit 0369db4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ var validateSecureMode = function(config) {

if (!privateKey || !certificate) {
chalk.red(console.log('+ Error: Certificate file or key file is missing, falling back to non-SSL mode'));
chalk.red(console.log(' To create them, simply run the following from your shell: sh ./scripts/generate-ssl-certs.sh'));
console.log();
config.secure = false;
}
};
Expand Down

0 comments on commit 0369db4

Please sign in to comment.