use console.error when applicable
This commit is contained in:
parent
e008eb93bc
commit
0aa457680c
5 changed files with 6 additions and 6 deletions
|
|
@ -12,7 +12,7 @@ try {
|
|||
const globalConfigPath = path.resolve('/etc', 'lamassu', 'lamassu.json')
|
||||
serverConfig = JSON.parse(fs.readFileSync(globalConfigPath))
|
||||
} catch (_) {
|
||||
console.log("Couldn't open config file.")
|
||||
console.error("Couldn't open lamassu.json config file.")
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue