cli/state: log error

This commit is contained in:
jean-emmanuel 2018-08-04 17:11:46 +02:00
parent 9cd107fd5c
commit 064fbd1017

View file

@ -151,6 +151,7 @@ var makeDefaultConfig = function(argv){
try {
return JSON.parse(fs.readFileSync(argv['state'], 'utf8'))
} catch(err) {
console.error(err)
return false
}
})(),