chore: consistency
This commit is contained in:
parent
f3c62462fb
commit
ad6b74c250
1 changed files with 2 additions and 2 deletions
|
|
@ -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}`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue