chore: consistency

This commit is contained in:
Bill Church 2021-05-18 12:53:58 +00:00
parent f3c62462fb
commit ad6b74c250

View file

@ -86,13 +86,13 @@ try {
config = require('read-config-ng')(configPath); config = require('read-config-ng')(configPath);
} else { } else {
console.error( console.error(
`\n\nERROR: Missing config.json for webssh. Current config: ${JSON.stringify(config)}` `\n\nERROR: Missing config.json for WebSSH2. Current config: ${JSON.stringify(config)}`
); );
console.error('\n See config.json.sample for details\n\n'); console.error('\n See config.json.sample for details\n\n');
} }
} catch (err) { } catch (err) {
console.error( console.error(
`\n\nERROR: Missing config.json for webssh. Current config: ${JSON.stringify(config)}` `\n\nERROR: Missing config.json for WebSSH2. Current config: ${JSON.stringify(config)}`
); );
console.error('\n See config.json.sample for details\n\n'); console.error('\n See config.json.sample for details\n\n');
console.error(`ERROR:\n\n ${err}`); console.error(`ERROR:\n\n ${err}`);