mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-24 16:19:20 +01:00
Merge pull request #691 from lirantal/feature/missing_ssl_better_log
Enhancing SSL error message
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user