cli/state: log error

This commit is contained in:
jean-emmanuel 2018-08-04 17:11:46 +02:00
parent 41dee25781
commit f5d838f173

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
}
})(),